aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/sgi-ip32/ip32-berr.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <[email protected]>2024-01-19 14:52:51 +0100
committerThomas Bogendoerfer <[email protected]>2024-01-22 11:12:19 +0100
commitf64fdde9bc771d7d790e8bcc30a7e03bbe0b1a9f (patch)
treefb4a9a6ccf73c7ffe3deb26c5f9020b7b27fedb5 /arch/mips/sgi-ip32/ip32-berr.c
parentab58a2f319de945f631150a190653a90e307df8e (diff)
MIPS: sgi-ip32: Fix missing prototypes
Fix interrupt function prototypes, move all prototypes into a new file ip32-common.h and include it where needed. Signed-off-by: Thomas Bogendoerfer <[email protected]> Reviewed-by: Florian Fainelli <[email protected]>
Diffstat (limited to 'arch/mips/sgi-ip32/ip32-berr.c')
-rw-r--r--arch/mips/sgi-ip32/ip32-berr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/sgi-ip32/ip32-berr.c b/arch/mips/sgi-ip32/ip32-berr.c
index 478b63b4c808..7cbc27941f92 100644
--- a/arch/mips/sgi-ip32/ip32-berr.c
+++ b/arch/mips/sgi-ip32/ip32-berr.c
@@ -18,6 +18,8 @@
#include <asm/ptrace.h>
#include <asm/tlbdebug.h>
+#include "ip32-common.h"
+
static int ip32_be_handler(struct pt_regs *regs, int is_fixup)
{
int data = regs->cp0_cause & 4;