diff options
-rw-r--r-- | arch/mips/au1000/common/irq.c | 60 | ||||
-rw-r--r-- | arch/mips/ddb5xxx/ddb5074/nile4_pic.c | 15 | ||||
-rw-r--r-- | arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c | 15 | ||||
-rw-r--r-- | arch/mips/ddb5xxx/ddb5477/irq_5477.c | 15 | ||||
-rw-r--r-- | arch/mips/ite-boards/generic/irq.c | 29 | ||||
-rw-r--r-- | arch/mips/jazz/irq.c | 15 | ||||
-rw-r--r-- | arch/mips/jmr3927/rbhma3100/irq.c | 14 | ||||
-rw-r--r-- | arch/mips/kernel/i8259.c | 15 | ||||
-rw-r--r-- | arch/mips/kernel/irq-msc01.c | 30 | ||||
-rw-r--r-- | arch/mips/kernel/irq-mv6434x.c | 15 | ||||
-rw-r--r-- | arch/mips/kernel/irq-rm7000.c | 14 | ||||
-rw-r--r-- | arch/mips/kernel/irq-rm9000.c | 28 | ||||
-rw-r--r-- | arch/mips/kernel/irq_cpu.c | 15 | ||||
-rw-r--r-- | arch/mips/lasat/interrupt.c | 15 | ||||
-rw-r--r-- | arch/mips/mips-boards/atlas/atlas_int.c | 15 | ||||
-rw-r--r-- | arch/mips/momentum/ocelot_c/cpci-irq.c | 15 | ||||
-rw-r--r-- | arch/mips/momentum/ocelot_c/uart-irq.c | 15 | ||||
-rw-r--r-- | arch/mips/sgi-ip32/ip32-irq.c | 75 | ||||
-rw-r--r-- | arch/mips/sibyte/sb1250/irq.c | 18 | ||||
-rw-r--r-- | arch/mips/sni/irq.c | 15 |
20 files changed, 211 insertions, 237 deletions
diff --git a/arch/mips/au1000/common/irq.c b/arch/mips/au1000/common/irq.c index d1eb5a4a9a19..0b912f739feb 100644 --- a/arch/mips/au1000/common/irq.c +++ b/arch/mips/au1000/common/irq.c | |||
@@ -253,47 +253,43 @@ void restore_local_and_enable(int controller, unsigned long mask) | |||
253 | 253 | ||
254 | 254 | ||
255 | static struct hw_interrupt_type rise_edge_irq_type = { | 255 | static struct hw_interrupt_type rise_edge_irq_type = { |
256 | "Au1000 Rise Edge", | 256 | .typename = "Au1000 Rise Edge", |
257 | startup_irq, | 257 | .startup = startup_irq, |
258 | shutdown_irq, | 258 | .shutdown = shutdown_irq, |
259 | local_enable_irq, | 259 | .enable = local_enable_irq, |
260 | local_disable_irq, | 260 | .disable = local_disable_irq, |
261 | mask_and_ack_rise_edge_irq, | 261 | .ack = mask_and_ack_rise_edge_irq, |
262 | end_irq, | 262 | .end = end_irq, |
263 | NULL | ||
264 | }; | 263 | }; |
265 | 264 | ||
266 | static struct hw_interrupt_type fall_edge_irq_type = { | 265 | static struct hw_interrupt_type fall_edge_irq_type = { |
267 | "Au1000 Fall Edge", | 266 | .typename = "Au1000 Fall Edge", |
268 | startup_irq, | 267 | .startup = startup_irq, |
269 | shutdown_irq, | 268 | .shutdown = shutdown_irq, |
270 | local_enable_irq, | 269 | .enable = local_enable_irq, |
271 | local_disable_irq, | 270 | .disable = local_disable_irq, |
272 | mask_and_ack_fall_edge_irq, | 271 | .ack = mask_and_ack_fall_edge_irq, |
273 | end_irq, | 272 | .end = end_irq, |
274 | NULL | ||
275 | }; | 273 | }; |
276 | 274 | ||
277 | static struct hw_interrupt_type either_edge_irq_type = { | 275 | static struct hw_interrupt_type either_edge_irq_type = { |
278 | "Au1000 Rise or Fall Edge", | 276 | .typename = "Au1000 Rise or Fall Edge", |
279 | startup_irq, | 277 | .startup = startup_irq, |
280 | shutdown_irq, | 278 | .shutdown = shutdown_irq, |
281 | local_enable_irq, | 279 | .enable = local_enable_irq, |
282 | local_disable_irq, | 280 | .disable = local_disable_irq, |
283 | mask_and_ack_either_edge_irq, | 281 | .ack = mask_and_ack_either_edge_irq, |
284 | end_irq, | 282 | .end = end_irq, |
285 | NULL | ||
286 | }; | 283 | }; |
287 | 284 | ||
288 | static struct hw_interrupt_type level_irq_type = { | 285 | static struct hw_interrupt_type level_irq_type = { |
289 | "Au1000 Level", | 286 | .typename = "Au1000 Level", |
290 | startup_irq, | 287 | .startup = startup_irq, |
291 | shutdown_irq, | 288 | .shutdown = shutdown_irq, |
292 | local_enable_irq, | 289 | .enable = local_enable_irq, |
293 | local_disable_irq, | 290 | .disable = local_disable_irq, |
294 | mask_and_ack_level_irq, | 291 | .ack = mask_and_ack_level_irq, |
295 | end_irq, | 292 | .end = end_irq, |
296 | NULL | ||
297 | }; | 293 | }; |
298 | 294 | ||
299 | #ifdef CONFIG_PM | 295 | #ifdef CONFIG_PM |
diff --git a/arch/mips/ddb5xxx/ddb5074/nile4_pic.c b/arch/mips/ddb5xxx/ddb5074/nile4_pic.c index 68c127cd70c9..8743ffce8653 100644 --- a/arch/mips/ddb5xxx/ddb5074/nile4_pic.c +++ b/arch/mips/ddb5xxx/ddb5074/nile4_pic.c | |||
@@ -209,14 +209,13 @@ static void nile4_irq_end(unsigned int irq) { | |||
209 | #define nile4_irq_shutdown nile4_disable_irq | 209 | #define nile4_irq_shutdown nile4_disable_irq |
210 | 210 | ||
211 | static hw_irq_controller nile4_irq_controller = { | 211 | static hw_irq_controller nile4_irq_controller = { |
212 | "nile4", | 212 | .typename = "nile4", |
213 | nile4_irq_startup, | 213 | .startup = nile4_irq_startup, |
214 | nile4_irq_shutdown, | 214 | .shutdown = nile4_irq_shutdown, |
215 | nile4_enable_irq, | 215 | .enable = nile4_enable_irq, |
216 | nile4_disable_irq, | 216 | .disable = nile4_disable_irq, |
217 | nile4_ack_irq, | 217 | .ack = nile4_ack_irq, |
218 | nile4_irq_end, | 218 | .end = nile4_irq_end, |
219 | NULL | ||
220 | }; | 219 | }; |
221 | 220 | ||
222 | void nile4_irq_setup(u32 base) { | 221 | void nile4_irq_setup(u32 base) { |
diff --git a/arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c b/arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c index a77682be01ac..f66fe5b58636 100644 --- a/arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c +++ b/arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c | |||
@@ -53,14 +53,13 @@ static void vrc5476_irq_end(uint irq) | |||
53 | } | 53 | } |
54 | 54 | ||
55 | static hw_irq_controller vrc5476_irq_controller = { | 55 | static hw_irq_controller vrc5476_irq_controller = { |
56 | "vrc5476", | 56 | .typename = "vrc5476", |
57 | vrc5476_irq_startup, | 57 | .startup = vrc5476_irq_startup, |
58 | vrc5476_irq_shutdown, | 58 | .shutdown = vrc5476_irq_shutdown, |
59 | vrc5476_irq_enable, | 59 | .enable = vrc5476_irq_enable, |
60 | vrc5476_irq_disable, | 60 | .disable = vrc5476_irq_disable, |
61 | vrc5476_irq_ack, | 61 | .ack = vrc5476_irq_ack, |
62 | vrc5476_irq_end, | 62 | .end = vrc5476_irq_end |
63 | NULL /* no affinity stuff for UP */ | ||
64 | }; | 63 | }; |
65 | 64 | ||
66 | void __init | 65 | void __init |
diff --git a/arch/mips/ddb5xxx/ddb5477/irq_5477.c b/arch/mips/ddb5xxx/ddb5477/irq_5477.c index 0d5e706207ec..5fcd5f070cdc 100644 --- a/arch/mips/ddb5xxx/ddb5477/irq_5477.c +++ b/arch/mips/ddb5xxx/ddb5477/irq_5477.c | |||
@@ -90,14 +90,13 @@ vrc5477_irq_end(unsigned int irq) | |||
90 | } | 90 | } |
91 | 91 | ||
92 | hw_irq_controller vrc5477_irq_controller = { | 92 | hw_irq_controller vrc5477_irq_controller = { |
93 | "vrc5477_irq", | 93 | .typename = "vrc5477_irq", |
94 | vrc5477_irq_startup, | 94 | .startup = vrc5477_irq_startup, |
95 | vrc5477_irq_shutdown, | 95 | .shutdown = vrc5477_irq_shutdown, |
96 | vrc5477_irq_enable, | 96 | .enable = vrc5477_irq_enable, |
97 | vrc5477_irq_disable, | 97 | .disable = vrc5477_irq_disable, |
98 | vrc5477_irq_ack, | 98 | .ack = vrc5477_irq_ack, |
99 | vrc5477_irq_end, | 99 | .end = vrc5477_irq_end |
100 | NULL /* no affinity stuff for UP */ | ||
101 | }; | 100 | }; |
102 | 101 | ||
103 | void __init vrc5477_irq_init(u32 irq_base) | 102 | void __init vrc5477_irq_init(u32 irq_base) |
diff --git a/arch/mips/ite-boards/generic/irq.c b/arch/mips/ite-boards/generic/irq.c index cb71b9024d6f..16014e6ebf50 100644 --- a/arch/mips/ite-boards/generic/irq.c +++ b/arch/mips/ite-boards/generic/irq.c | |||
@@ -138,14 +138,13 @@ static void end_ite_irq(unsigned int irq) | |||
138 | } | 138 | } |
139 | 139 | ||
140 | static struct hw_interrupt_type it8172_irq_type = { | 140 | static struct hw_interrupt_type it8172_irq_type = { |
141 | "ITE8172", | 141 | .typename = "ITE8172", |
142 | startup_ite_irq, | 142 | .startup = startup_ite_irq, |
143 | shutdown_ite_irq, | 143 | .shutdown = shutdown_ite_irq, |
144 | enable_it8172_irq, | 144 | .enable = enable_it8172_irq, |
145 | disable_it8172_irq, | 145 | .disable = disable_it8172_irq, |
146 | mask_and_ack_ite_irq, | 146 | .ack = mask_and_ack_ite_irq, |
147 | end_ite_irq, | 147 | .end = end_ite_irq, |
148 | NULL | ||
149 | }; | 148 | }; |
150 | 149 | ||
151 | 150 | ||
@@ -159,13 +158,13 @@ static void ack_none(unsigned int irq) { } | |||
159 | #define end_none enable_none | 158 | #define end_none enable_none |
160 | 159 | ||
161 | static struct hw_interrupt_type cp0_irq_type = { | 160 | static struct hw_interrupt_type cp0_irq_type = { |
162 | "CP0 Count", | 161 | .typename = "CP0 Count", |
163 | startup_none, | 162 | .startup = startup_none, |
164 | shutdown_none, | 163 | .shutdown = shutdown_none, |
165 | enable_none, | 164 | .enable = enable_none, |
166 | disable_none, | 165 | .disable = disable_none, |
167 | ack_none, | 166 | .ack = ack_none, |
168 | end_none | 167 | .end = end_none |
169 | }; | 168 | }; |
170 | 169 | ||
171 | void enable_cpu_timer(void) | 170 | void enable_cpu_timer(void) |
diff --git a/arch/mips/jazz/irq.c b/arch/mips/jazz/irq.c index 0b608fa98d5a..b309b1bcf2e8 100644 --- a/arch/mips/jazz/irq.c +++ b/arch/mips/jazz/irq.c | |||
@@ -58,14 +58,13 @@ static void end_r4030_irq(unsigned int irq) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | static struct hw_interrupt_type r4030_irq_type = { | 60 | static struct hw_interrupt_type r4030_irq_type = { |
61 | "R4030", | 61 | .typename = "R4030", |
62 | startup_r4030_irq, | 62 | .startup = startup_r4030_irq, |
63 | shutdown_r4030_irq, | 63 | .shutdown = shutdown_r4030_irq, |
64 | enable_r4030_irq, | 64 | .enable = enable_r4030_irq, |
65 | disable_r4030_irq, | 65 | .disable = disable_r4030_irq, |
66 | mask_and_ack_r4030_irq, | 66 | .ack = mask_and_ack_r4030_irq, |
67 | end_r4030_irq, | 67 | .end = end_r4030_irq, |
68 | NULL | ||
69 | }; | 68 | }; |
70 | 69 | ||
71 | void __init init_r4030_ints(void) | 70 | void __init init_r4030_ints(void) |
diff --git a/arch/mips/jmr3927/rbhma3100/irq.c b/arch/mips/jmr3927/rbhma3100/irq.c index b9799b86fc79..7cbe14483f13 100644 --- a/arch/mips/jmr3927/rbhma3100/irq.c +++ b/arch/mips/jmr3927/rbhma3100/irq.c | |||
@@ -412,13 +412,13 @@ void __init arch_init_irq(void) | |||
412 | } | 412 | } |
413 | 413 | ||
414 | static hw_irq_controller jmr3927_irq_controller = { | 414 | static hw_irq_controller jmr3927_irq_controller = { |
415 | "jmr3927_irq", | 415 | .typename = "jmr3927_irq", |
416 | jmr3927_irq_startup, | 416 | .startup = jmr3927_irq_startup, |
417 | jmr3927_irq_shutdown, | 417 | .shutdown = jmr3927_irq_shutdown, |
418 | jmr3927_irq_enable, | 418 | .enable = jmr3927_irq_enable, |
419 | jmr3927_irq_disable, | 419 | .disable = jmr3927_irq_disable, |
420 | jmr3927_irq_ack, | 420 | .ack = jmr3927_irq_ack, |
421 | jmr3927_irq_end, | 421 | .end = jmr3927_irq_end, |
422 | }; | 422 | }; |
423 | 423 | ||
424 | void jmr3927_irq_init(u32 irq_base) | 424 | void jmr3927_irq_init(u32 irq_base) |
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c index 447759201d1d..bb31370cd390 100644 --- a/arch/mips/kernel/i8259.c +++ b/arch/mips/kernel/i8259.c | |||
@@ -52,14 +52,13 @@ static unsigned int startup_8259A_irq(unsigned int irq) | |||
52 | } | 52 | } |
53 | 53 | ||
54 | static struct hw_interrupt_type i8259A_irq_type = { | 54 | static struct hw_interrupt_type i8259A_irq_type = { |
55 | "XT-PIC", | 55 | .typename = "XT-PIC", |
56 | startup_8259A_irq, | 56 | .startup = startup_8259A_irq, |
57 | shutdown_8259A_irq, | 57 | .shutdown = shutdown_8259A_irq, |
58 | enable_8259A_irq, | 58 | .enable = enable_8259A_irq, |
59 | disable_8259A_irq, | 59 | .disable = disable_8259A_irq, |
60 | mask_and_ack_8259A, | 60 | .ack = mask_and_ack_8259A, |
61 | end_8259A_irq, | 61 | .end = end_8259A_irq, |
62 | NULL | ||
63 | }; | 62 | }; |
64 | 63 | ||
65 | /* | 64 | /* |
diff --git a/arch/mips/kernel/irq-msc01.c b/arch/mips/kernel/irq-msc01.c index 43c00ac0b88d..bf759e33c5ef 100644 --- a/arch/mips/kernel/irq-msc01.c +++ b/arch/mips/kernel/irq-msc01.c | |||
@@ -129,25 +129,23 @@ msc_bind_eic_interrupt (unsigned int irq, unsigned int set) | |||
129 | #define shutdown_msc_irq disable_msc_irq | 129 | #define shutdown_msc_irq disable_msc_irq |
130 | 130 | ||
131 | struct hw_interrupt_type msc_levelirq_type = { | 131 | struct hw_interrupt_type msc_levelirq_type = { |
132 | "SOC-it-Level", | 132 | .typename = "SOC-it-Level", |
133 | startup_msc_irq, | 133 | .startup = startup_msc_irq, |
134 | shutdown_msc_irq, | 134 | .shutdown = shutdown_msc_irq, |
135 | enable_msc_irq, | 135 | .enable = enable_msc_irq, |
136 | disable_msc_irq, | 136 | .disable = disable_msc_irq, |
137 | level_mask_and_ack_msc_irq, | 137 | .ack = level_mask_and_ack_msc_irq, |
138 | end_msc_irq, | 138 | .end = end_msc_irq, |
139 | NULL | ||
140 | }; | 139 | }; |
141 | 140 | ||
142 | struct hw_interrupt_type msc_edgeirq_type = { | 141 | struct hw_interrupt_type msc_edgeirq_type = { |
143 | "SOC-it-Edge", | 142 | .typename = "SOC-it-Edge", |
144 | startup_msc_irq, | 143 | .startup =startup_msc_irq, |
145 | shutdown_msc_irq, | 144 | .shutdown = shutdown_msc_irq, |
146 | enable_msc_irq, | 145 | .enable = enable_msc_irq, |
147 | disable_msc_irq, | 146 | .disable = disable_msc_irq, |
148 | edge_mask_and_ack_msc_irq, | 147 | .ack = edge_mask_and_ack_msc_irq, |
149 | end_msc_irq, | 148 | .end = end_msc_irq, |
150 | NULL | ||
151 | }; | 149 | }; |
152 | 150 | ||
153 | 151 | ||
diff --git a/arch/mips/kernel/irq-mv6434x.c b/arch/mips/kernel/irq-mv6434x.c index 088bbbc869e6..0ac067f45cf5 100644 --- a/arch/mips/kernel/irq-mv6434x.c +++ b/arch/mips/kernel/irq-mv6434x.c | |||
@@ -135,14 +135,13 @@ void ll_mv64340_irq(struct pt_regs *regs) | |||
135 | #define shutdown_mv64340_irq disable_mv64340_irq | 135 | #define shutdown_mv64340_irq disable_mv64340_irq |
136 | 136 | ||
137 | struct hw_interrupt_type mv64340_irq_type = { | 137 | struct hw_interrupt_type mv64340_irq_type = { |
138 | "MV-64340", | 138 | .typename = "MV-64340", |
139 | startup_mv64340_irq, | 139 | .startup = startup_mv64340_irq, |
140 | shutdown_mv64340_irq, | 140 | .shutdown = shutdown_mv64340_irq, |
141 | enable_mv64340_irq, | 141 | .enable = enable_mv64340_irq, |
142 | disable_mv64340_irq, | 142 | .disable = disable_mv64340_irq, |
143 | mask_and_ack_mv64340_irq, | 143 | .ack = mask_and_ack_mv64340_irq, |
144 | end_mv64340_irq, | 144 | .end = end_mv64340_irq, |
145 | NULL | ||
146 | }; | 145 | }; |
147 | 146 | ||
148 | void __init mv64340_irq_init(unsigned int base) | 147 | void __init mv64340_irq_init(unsigned int base) |
diff --git a/arch/mips/kernel/irq-rm7000.c b/arch/mips/kernel/irq-rm7000.c index f5d779fd0355..0b130c5ac5d9 100644 --- a/arch/mips/kernel/irq-rm7000.c +++ b/arch/mips/kernel/irq-rm7000.c | |||
@@ -72,13 +72,13 @@ static void rm7k_cpu_irq_end(unsigned int irq) | |||
72 | } | 72 | } |
73 | 73 | ||
74 | static hw_irq_controller rm7k_irq_controller = { | 74 | static hw_irq_controller rm7k_irq_controller = { |
75 | "RM7000", | 75 | .typename = "RM7000", |
76 | rm7k_cpu_irq_startup, | 76 | .startup = rm7k_cpu_irq_startup, |
77 | rm7k_cpu_irq_shutdown, | 77 | .shutdown = rm7k_cpu_irq_shutdown, |
78 | rm7k_cpu_irq_enable, | 78 | .enable = rm7k_cpu_irq_enable, |
79 | rm7k_cpu_irq_disable, | 79 | .disable = rm7k_cpu_irq_disable, |
80 | rm7k_cpu_irq_ack, | 80 | .ack = rm7k_cpu_irq_ack, |
81 | rm7k_cpu_irq_end, | 81 | .end = rm7k_cpu_irq_end, |
82 | }; | 82 | }; |
83 | 83 | ||
84 | void __init rm7k_cpu_irq_init(int base) | 84 | void __init rm7k_cpu_irq_init(int base) |
diff --git a/arch/mips/kernel/irq-rm9000.c b/arch/mips/kernel/irq-rm9000.c index bdd130296256..9b5f20c32acb 100644 --- a/arch/mips/kernel/irq-rm9000.c +++ b/arch/mips/kernel/irq-rm9000.c | |||
@@ -106,23 +106,23 @@ static void rm9k_cpu_irq_end(unsigned int irq) | |||
106 | } | 106 | } |
107 | 107 | ||
108 | static hw_irq_controller rm9k_irq_controller = { | 108 | static hw_irq_controller rm9k_irq_controller = { |
109 | "RM9000", | 109 | .typename = "RM9000", |
110 | rm9k_cpu_irq_startup, | 110 | .startup = rm9k_cpu_irq_startup, |
111 | rm9k_cpu_irq_shutdown, | 111 | .shutdown = rm9k_cpu_irq_shutdown, |
112 | rm9k_cpu_irq_enable, | 112 | .enable = rm9k_cpu_irq_enable, |
113 | rm9k_cpu_irq_disable, | 113 | .disable = rm9k_cpu_irq_disable, |
114 | rm9k_cpu_irq_ack, | 114 | .ack = rm9k_cpu_irq_ack, |
115 | rm9k_cpu_irq_end, | 115 | .end = rm9k_cpu_irq_end, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | static hw_irq_controller rm9k_perfcounter_irq = { | 118 | static hw_irq_controller rm9k_perfcounter_irq = { |
119 | "RM9000", | 119 | .typename = "RM9000", |
120 | rm9k_perfcounter_irq_startup, | 120 | .startup = rm9k_perfcounter_irq_startup, |
121 | rm9k_perfcounter_irq_shutdown, | 121 | .shutdown = rm9k_perfcounter_irq_shutdown, |
122 | rm9k_cpu_irq_enable, | 122 | .enable = rm9k_cpu_irq_enable, |
123 | rm9k_cpu_irq_disable, | 123 | .disable = rm9k_cpu_irq_disable, |
124 | rm9k_cpu_irq_ack, | 124 | .ack = rm9k_cpu_irq_ack, |
125 | rm9k_cpu_irq_end, | 125 | .end = rm9k_cpu_irq_end, |
126 | }; | 126 | }; |
127 | 127 | ||
128 | unsigned int rm9000_perfcount_irq; | 128 | unsigned int rm9000_perfcount_irq; |
diff --git a/arch/mips/kernel/irq_cpu.c b/arch/mips/kernel/irq_cpu.c index 8f8c15fa748d..905ff843a68f 100644 --- a/arch/mips/kernel/irq_cpu.c +++ b/arch/mips/kernel/irq_cpu.c | |||
@@ -93,14 +93,13 @@ static void mips_cpu_irq_end(unsigned int irq) | |||
93 | } | 93 | } |
94 | 94 | ||
95 | static hw_irq_controller mips_cpu_irq_controller = { | 95 | static hw_irq_controller mips_cpu_irq_controller = { |
96 | "MIPS", | 96 | .typename = "MIPS", |
97 | mips_cpu_irq_startup, | 97 | .startup = mips_cpu_irq_startup, |
98 | mips_cpu_irq_shutdown, | 98 | .shutdown = mips_cpu_irq_shutdown, |
99 | mips_cpu_irq_enable, | 99 | .enable = mips_cpu_irq_enable, |
100 | mips_cpu_irq_disable, | 100 | .disable = mips_cpu_irq_disable, |
101 | mips_cpu_irq_ack, | 101 | .ack = mips_cpu_irq_ack, |
102 | mips_cpu_irq_end, | 102 | .end = mips_cpu_irq_end, |
103 | NULL /* no affinity stuff for UP */ | ||
104 | }; | 103 | }; |
105 | 104 | ||
106 | 105 | ||
diff --git a/arch/mips/lasat/interrupt.c b/arch/mips/lasat/interrupt.c index c90da1639440..852a41901a5e 100644 --- a/arch/mips/lasat/interrupt.c +++ b/arch/mips/lasat/interrupt.c | |||
@@ -71,14 +71,13 @@ static void end_lasat_irq(unsigned int irq) | |||
71 | } | 71 | } |
72 | 72 | ||
73 | static struct hw_interrupt_type lasat_irq_type = { | 73 | static struct hw_interrupt_type lasat_irq_type = { |
74 | "Lasat", | 74 | .typename = "Lasat", |
75 | startup_lasat_irq, | 75 | .startup = startup_lasat_irq, |
76 | shutdown_lasat_irq, | 76 | .shutdown = shutdown_lasat_irq, |
77 | enable_lasat_irq, | 77 | .enable = enable_lasat_irq, |
78 | disable_lasat_irq, | 78 | .disable = disable_lasat_irq, |
79 | mask_and_ack_lasat_irq, | 79 | .ack = mask_and_ack_lasat_irq, |
80 | end_lasat_irq, | 80 | .end = end_lasat_irq, |
81 | NULL | ||
82 | }; | 81 | }; |
83 | 82 | ||
84 | static inline int ls1bit32(unsigned int x) | 83 | static inline int ls1bit32(unsigned int x) |
diff --git a/arch/mips/mips-boards/atlas/atlas_int.c b/arch/mips/mips-boards/atlas/atlas_int.c index 19d4b0792460..bc0ebc69bfb3 100644 --- a/arch/mips/mips-boards/atlas/atlas_int.c +++ b/arch/mips/mips-boards/atlas/atlas_int.c | |||
@@ -76,14 +76,13 @@ static void end_atlas_irq(unsigned int irq) | |||
76 | } | 76 | } |
77 | 77 | ||
78 | static struct hw_interrupt_type atlas_irq_type = { | 78 | static struct hw_interrupt_type atlas_irq_type = { |
79 | "Atlas", | 79 | .typename = "Atlas", |
80 | startup_atlas_irq, | 80 | .startup = startup_atlas_irq, |
81 | shutdown_atlas_irq, | 81 | .shutdown = shutdown_atlas_irq, |
82 | enable_atlas_irq, | 82 | .enable = enable_atlas_irq, |
83 | disable_atlas_irq, | 83 | .disable = disable_atlas_irq, |
84 | mask_and_ack_atlas_irq, | 84 | .ack = mask_and_ack_atlas_irq, |
85 | end_atlas_irq, | 85 | .end = end_atlas_irq, |
86 | NULL | ||
87 | }; | 86 | }; |
88 | 87 | ||
89 | static inline int ls1bit32(unsigned int x) | 88 | static inline int ls1bit32(unsigned int x) |
diff --git a/arch/mips/momentum/ocelot_c/cpci-irq.c b/arch/mips/momentum/ocelot_c/cpci-irq.c index dea48b3ad687..bd885785e2f9 100644 --- a/arch/mips/momentum/ocelot_c/cpci-irq.c +++ b/arch/mips/momentum/ocelot_c/cpci-irq.c | |||
@@ -129,14 +129,13 @@ void ll_cpci_irq(struct pt_regs *regs) | |||
129 | #define shutdown_cpci_irq disable_cpci_irq | 129 | #define shutdown_cpci_irq disable_cpci_irq |
130 | 130 | ||
131 | struct hw_interrupt_type cpci_irq_type = { | 131 | struct hw_interrupt_type cpci_irq_type = { |
132 | "CPCI/FPGA", | 132 | .typename = "CPCI/FPGA", |
133 | startup_cpci_irq, | 133 | .startup = startup_cpci_irq, |
134 | shutdown_cpci_irq, | 134 | .shutdown = shutdown_cpci_irq, |
135 | enable_cpci_irq, | 135 | .enable = enable_cpci_irq, |
136 | disable_cpci_irq, | 136 | .disable = disable_cpci_irq, |
137 | mask_and_ack_cpci_irq, | 137 | .ack = mask_and_ack_cpci_irq, |
138 | end_cpci_irq, | 138 | .end = end_cpci_irq, |
139 | NULL | ||
140 | }; | 139 | }; |
141 | 140 | ||
142 | void cpci_irq_init(void) | 141 | void cpci_irq_init(void) |
diff --git a/arch/mips/momentum/ocelot_c/uart-irq.c b/arch/mips/momentum/ocelot_c/uart-irq.c index ebe1507b17df..755bde5146be 100644 --- a/arch/mips/momentum/ocelot_c/uart-irq.c +++ b/arch/mips/momentum/ocelot_c/uart-irq.c | |||
@@ -122,14 +122,13 @@ void ll_uart_irq(struct pt_regs *regs) | |||
122 | #define shutdown_uart_irq disable_uart_irq | 122 | #define shutdown_uart_irq disable_uart_irq |
123 | 123 | ||
124 | struct hw_interrupt_type uart_irq_type = { | 124 | struct hw_interrupt_type uart_irq_type = { |
125 | "UART/FPGA", | 125 | .typename = "UART/FPGA", |
126 | startup_uart_irq, | 126 | .startup = startup_uart_irq, |
127 | shutdown_uart_irq, | 127 | .shutdown = shutdown_uart_irq, |
128 | enable_uart_irq, | 128 | .enable = enable_uart_irq, |
129 | disable_uart_irq, | 129 | .disable = disable_uart_irq, |
130 | mask_and_ack_uart_irq, | 130 | .ack = mask_and_ack_uart_irq, |
131 | end_uart_irq, | 131 | .end = end_uart_irq, |
132 | NULL | ||
133 | }; | 132 | }; |
134 | 133 | ||
135 | void uart_irq_init(void) | 134 | void uart_irq_init(void) |
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index fc3a8e90d763..2eb22d692ed9 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c | |||
@@ -163,14 +163,13 @@ static void end_cpu_irq(unsigned int irq) | |||
163 | #define mask_and_ack_cpu_irq disable_cpu_irq | 163 | #define mask_and_ack_cpu_irq disable_cpu_irq |
164 | 164 | ||
165 | static struct hw_interrupt_type ip32_cpu_interrupt = { | 165 | static struct hw_interrupt_type ip32_cpu_interrupt = { |
166 | "IP32 CPU", | 166 | .typename = "IP32 CPU", |
167 | startup_cpu_irq, | 167 | .startup = startup_cpu_irq, |
168 | shutdown_cpu_irq, | 168 | .shutdown = shutdown_cpu_irq, |
169 | enable_cpu_irq, | 169 | .enable = enable_cpu_irq, |
170 | disable_cpu_irq, | 170 | .disable = disable_cpu_irq, |
171 | mask_and_ack_cpu_irq, | 171 | .ack = mask_and_ack_cpu_irq, |
172 | end_cpu_irq, | 172 | .end = end_cpu_irq, |
173 | NULL | ||
174 | }; | 173 | }; |
175 | 174 | ||
176 | /* | 175 | /* |
@@ -234,14 +233,13 @@ static void end_crime_irq(unsigned int irq) | |||
234 | #define shutdown_crime_irq disable_crime_irq | 233 | #define shutdown_crime_irq disable_crime_irq |
235 | 234 | ||
236 | static struct hw_interrupt_type ip32_crime_interrupt = { | 235 | static struct hw_interrupt_type ip32_crime_interrupt = { |
237 | "IP32 CRIME", | 236 | .typename = "IP32 CRIME", |
238 | startup_crime_irq, | 237 | .startup = startup_crime_irq, |
239 | shutdown_crime_irq, | 238 | .shutdown = shutdown_crime_irq, |
240 | enable_crime_irq, | 239 | .enable = enable_crime_irq, |
241 | disable_crime_irq, | 240 | .disable = disable_crime_irq, |
242 | mask_and_ack_crime_irq, | 241 | .ack = mask_and_ack_crime_irq, |
243 | end_crime_irq, | 242 | .end = end_crime_irq, |
244 | NULL | ||
245 | }; | 243 | }; |
246 | 244 | ||
247 | /* | 245 | /* |
@@ -294,14 +292,13 @@ static void end_macepci_irq(unsigned int irq) | |||
294 | #define mask_and_ack_macepci_irq disable_macepci_irq | 292 | #define mask_and_ack_macepci_irq disable_macepci_irq |
295 | 293 | ||
296 | static struct hw_interrupt_type ip32_macepci_interrupt = { | 294 | static struct hw_interrupt_type ip32_macepci_interrupt = { |
297 | "IP32 MACE PCI", | 295 | .typename = "IP32 MACE PCI", |
298 | startup_macepci_irq, | 296 | .startup = startup_macepci_irq, |
299 | shutdown_macepci_irq, | 297 | .shutdown = shutdown_macepci_irq, |
300 | enable_macepci_irq, | 298 | .enable = enable_macepci_irq, |
301 | disable_macepci_irq, | 299 | .disable = disable_macepci_irq, |
302 | mask_and_ack_macepci_irq, | 300 | .ack = mask_and_ack_macepci_irq, |
303 | end_macepci_irq, | 301 | .end = end_macepci_irq, |
304 | NULL | ||
305 | }; | 302 | }; |
306 | 303 | ||
307 | /* This is used for MACE ISA interrupts. That means bits 4-6 in the | 304 | /* This is used for MACE ISA interrupts. That means bits 4-6 in the |
@@ -425,14 +422,13 @@ static void end_maceisa_irq(unsigned irq) | |||
425 | #define shutdown_maceisa_irq disable_maceisa_irq | 422 | #define shutdown_maceisa_irq disable_maceisa_irq |
426 | 423 | ||
427 | static struct hw_interrupt_type ip32_maceisa_interrupt = { | 424 | static struct hw_interrupt_type ip32_maceisa_interrupt = { |
428 | "IP32 MACE ISA", | 425 | .typename = "IP32 MACE ISA", |
429 | startup_maceisa_irq, | 426 | .startup = startup_maceisa_irq, |
430 | shutdown_maceisa_irq, | 427 | .shutdown = shutdown_maceisa_irq, |
431 | enable_maceisa_irq, | 428 | .enable = enable_maceisa_irq, |
432 | disable_maceisa_irq, | 429 | .disable = disable_maceisa_irq, |
433 | mask_and_ack_maceisa_irq, | 430 | .ack = mask_and_ack_maceisa_irq, |
434 | end_maceisa_irq, | 431 | .end = end_maceisa_irq, |
435 | NULL | ||
436 | }; | 432 | }; |
437 | 433 | ||
438 | /* This is used for regular non-ISA, non-PCI MACE interrupts. That means | 434 | /* This is used for regular non-ISA, non-PCI MACE interrupts. That means |
@@ -476,14 +472,13 @@ static void end_mace_irq(unsigned int irq) | |||
476 | #define mask_and_ack_mace_irq disable_mace_irq | 472 | #define mask_and_ack_mace_irq disable_mace_irq |
477 | 473 | ||
478 | static struct hw_interrupt_type ip32_mace_interrupt = { | 474 | static struct hw_interrupt_type ip32_mace_interrupt = { |
479 | "IP32 MACE", | 475 | .typename = "IP32 MACE", |
480 | startup_mace_irq, | 476 | .startup = startup_mace_irq, |
481 | shutdown_mace_irq, | 477 | .shutdown = shutdown_mace_irq, |
482 | enable_mace_irq, | 478 | .enable = enable_mace_irq, |
483 | disable_mace_irq, | 479 | .disable = disable_mace_irq, |
484 | mask_and_ack_mace_irq, | 480 | .ack = mask_and_ack_mace_irq, |
485 | end_mace_irq, | 481 | .end = end_mace_irq, |
486 | NULL | ||
487 | }; | 482 | }; |
488 | 483 | ||
489 | static void ip32_unknown_interrupt(struct pt_regs *regs) | 484 | static void ip32_unknown_interrupt(struct pt_regs *regs) |
diff --git a/arch/mips/sibyte/sb1250/irq.c b/arch/mips/sibyte/sb1250/irq.c index a62cba9f32ba..b9f1ff420fef 100644 --- a/arch/mips/sibyte/sb1250/irq.c +++ b/arch/mips/sibyte/sb1250/irq.c | |||
@@ -71,17 +71,15 @@ extern char sb1250_duart_present[]; | |||
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | static struct hw_interrupt_type sb1250_irq_type = { | 73 | static struct hw_interrupt_type sb1250_irq_type = { |
74 | "SB1250-IMR", | 74 | .typename = "SB1250-IMR", |
75 | startup_sb1250_irq, | 75 | .startup = startup_sb1250_irq, |
76 | shutdown_sb1250_irq, | 76 | .shutdown = shutdown_sb1250_irq, |
77 | enable_sb1250_irq, | 77 | .enable = enable_sb1250_irq, |
78 | disable_sb1250_irq, | 78 | .disable = disable_sb1250_irq, |
79 | ack_sb1250_irq, | 79 | .ack = ack_sb1250_irq, |
80 | end_sb1250_irq, | 80 | .end = end_sb1250_irq, |
81 | #ifdef CONFIG_SMP | 81 | #ifdef CONFIG_SMP |
82 | sb1250_set_affinity | 82 | .set_affinity = sb1250_set_affinity |
83 | #else | ||
84 | NULL | ||
85 | #endif | 83 | #endif |
86 | }; | 84 | }; |
87 | 85 | ||
diff --git a/arch/mips/sni/irq.c b/arch/mips/sni/irq.c index 141a310d74d8..952038aa4b90 100644 --- a/arch/mips/sni/irq.c +++ b/arch/mips/sni/irq.c | |||
@@ -58,14 +58,13 @@ static void end_pciasic_irq(unsigned int irq) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | static struct hw_interrupt_type pciasic_irq_type = { | 60 | static struct hw_interrupt_type pciasic_irq_type = { |
61 | "ASIC-PCI", | 61 | .typename = "ASIC-PCI", |
62 | startup_pciasic_irq, | 62 | .startup = startup_pciasic_irq, |
63 | shutdown_pciasic_irq, | 63 | .shutdown = shutdown_pciasic_irq, |
64 | enable_pciasic_irq, | 64 | .enable = enable_pciasic_irq, |
65 | disable_pciasic_irq, | 65 | .disable = disable_pciasic_irq, |
66 | mask_and_ack_pciasic_irq, | 66 | .ack = mask_and_ack_pciasic_irq, |
67 | end_pciasic_irq, | 67 | .end = end_pciasic_irq, |
68 | NULL | ||
69 | }; | 68 | }; |
70 | 69 | ||
71 | /* | 70 | /* |