diff options
Diffstat (limited to 'arch/mips/sgi-ip22/ip22-int.c')
-rw-r--r-- | arch/mips/sgi-ip22/ip22-int.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/mips/sgi-ip22/ip22-int.c b/arch/mips/sgi-ip22/ip22-int.c index c44f8be0644f..b454924aeb56 100644 --- a/arch/mips/sgi-ip22/ip22-int.c +++ b/arch/mips/sgi-ip22/ip22-int.c | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include <asm/mipsregs.h> | 20 | #include <asm/mipsregs.h> |
21 | #include <asm/addrspace.h> | 21 | #include <asm/addrspace.h> |
22 | #include <asm/irq_cpu.h> | ||
22 | 23 | ||
23 | #include <asm/sgi/ioc.h> | 24 | #include <asm/sgi/ioc.h> |
24 | #include <asm/sgi/hpc3.h> | 25 | #include <asm/sgi/hpc3.h> |
@@ -52,7 +53,7 @@ static void disable_local0_irq(unsigned int irq) | |||
52 | } | 53 | } |
53 | 54 | ||
54 | static struct irq_chip ip22_local0_irq_type = { | 55 | static struct irq_chip ip22_local0_irq_type = { |
55 | .typename = "IP22 local 0", | 56 | .name = "IP22 local 0", |
56 | .ack = disable_local0_irq, | 57 | .ack = disable_local0_irq, |
57 | .mask = disable_local0_irq, | 58 | .mask = disable_local0_irq, |
58 | .mask_ack = disable_local0_irq, | 59 | .mask_ack = disable_local0_irq, |
@@ -73,7 +74,7 @@ void disable_local1_irq(unsigned int irq) | |||
73 | } | 74 | } |
74 | 75 | ||
75 | static struct irq_chip ip22_local1_irq_type = { | 76 | static struct irq_chip ip22_local1_irq_type = { |
76 | .typename = "IP22 local 1", | 77 | .name = "IP22 local 1", |
77 | .ack = disable_local1_irq, | 78 | .ack = disable_local1_irq, |
78 | .mask = disable_local1_irq, | 79 | .mask = disable_local1_irq, |
79 | .mask_ack = disable_local1_irq, | 80 | .mask_ack = disable_local1_irq, |
@@ -94,7 +95,7 @@ void disable_local2_irq(unsigned int irq) | |||
94 | } | 95 | } |
95 | 96 | ||
96 | static struct irq_chip ip22_local2_irq_type = { | 97 | static struct irq_chip ip22_local2_irq_type = { |
97 | .typename = "IP22 local 2", | 98 | .name = "IP22 local 2", |
98 | .ack = disable_local2_irq, | 99 | .ack = disable_local2_irq, |
99 | .mask = disable_local2_irq, | 100 | .mask = disable_local2_irq, |
100 | .mask_ack = disable_local2_irq, | 101 | .mask_ack = disable_local2_irq, |
@@ -115,7 +116,7 @@ void disable_local3_irq(unsigned int irq) | |||
115 | } | 116 | } |
116 | 117 | ||
117 | static struct irq_chip ip22_local3_irq_type = { | 118 | static struct irq_chip ip22_local3_irq_type = { |
118 | .typename = "IP22 local 3", | 119 | .name = "IP22 local 3", |
119 | .ack = disable_local3_irq, | 120 | .ack = disable_local3_irq, |
120 | .mask = disable_local3_irq, | 121 | .mask = disable_local3_irq, |
121 | .mask_ack = disable_local3_irq, | 122 | .mask_ack = disable_local3_irq, |
@@ -253,8 +254,6 @@ asmlinkage void plat_irq_dispatch(void) | |||
253 | indy_8254timer_irq(); | 254 | indy_8254timer_irq(); |
254 | } | 255 | } |
255 | 256 | ||
256 | extern void mips_cpu_irq_init(unsigned int irq_base); | ||
257 | |||
258 | void __init arch_init_irq(void) | 257 | void __init arch_init_irq(void) |
259 | { | 258 | { |
260 | int i; | 259 | int i; |
@@ -316,7 +315,7 @@ void __init arch_init_irq(void) | |||
316 | sgint->cmeimask1 = 0; | 315 | sgint->cmeimask1 = 0; |
317 | 316 | ||
318 | /* init CPU irqs */ | 317 | /* init CPU irqs */ |
319 | mips_cpu_irq_init(SGINT_CPU); | 318 | mips_cpu_irq_init(); |
320 | 319 | ||
321 | for (i = SGINT_LOCAL0; i < SGI_INTERRUPTS; i++) { | 320 | for (i = SGINT_LOCAL0; i < SGI_INTERRUPTS; i++) { |
322 | struct irq_chip *handler; | 321 | struct irq_chip *handler; |