diff options
Diffstat (limited to 'arch/mips/sgi-ip32')
-rw-r--r-- | arch/mips/sgi-ip32/ip32-berr.c | 2 | ||||
-rw-r--r-- | arch/mips/sgi-ip32/ip32-irq.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip32/ip32-berr.c b/arch/mips/sgi-ip32/ip32-berr.c index a278e918a019..afc1cadbba37 100644 --- a/arch/mips/sgi-ip32/ip32-berr.c +++ b/arch/mips/sgi-ip32/ip32-berr.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <asm/ptrace.h> | 16 | #include <asm/ptrace.h> |
17 | #include <asm/tlbdebug.h> | 17 | #include <asm/tlbdebug.h> |
18 | 18 | ||
19 | int ip32_be_handler(struct pt_regs *regs, int is_fixup) | 19 | static int ip32_be_handler(struct pt_regs *regs, int is_fixup) |
20 | { | 20 | { |
21 | int data = regs->cp0_cause & 4; | 21 | int data = regs->cp0_cause & 4; |
22 | 22 | ||
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index 83a0b3c359da..5c2bf111ca67 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c | |||
@@ -112,13 +112,13 @@ static void inline flush_mace_bus(void) | |||
112 | extern irqreturn_t crime_memerr_intr(int irq, void *dev_id); | 112 | extern irqreturn_t crime_memerr_intr(int irq, void *dev_id); |
113 | extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); | 113 | extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); |
114 | 114 | ||
115 | struct irqaction memerr_irq = { | 115 | static struct irqaction memerr_irq = { |
116 | .handler = crime_memerr_intr, | 116 | .handler = crime_memerr_intr, |
117 | .flags = IRQF_DISABLED, | 117 | .flags = IRQF_DISABLED, |
118 | .name = "CRIME memory error", | 118 | .name = "CRIME memory error", |
119 | }; | 119 | }; |
120 | 120 | ||
121 | struct irqaction cpuerr_irq = { | 121 | static struct irqaction cpuerr_irq = { |
122 | .handler = crime_cpuerr_intr, | 122 | .handler = crime_cpuerr_intr, |
123 | .flags = IRQF_DISABLED, | 123 | .flags = IRQF_DISABLED, |
124 | .name = "CRIME CPU error", | 124 | .name = "CRIME CPU error", |