diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-02 09:41:42 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:25:58 -0400 |
commit | 94dee171df34b7955cd647da4c40ba67d55a7671 (patch) | |
tree | 4f4cb8c8d5e37a7bc33457ffff5caff85376037f /arch/mips/sibyte | |
parent | e1e80b4d24eddd1a76cd386e25164cf159661bd6 (diff) |
[MIPS] Eleminate interrupt migration helper use.
> #define hw_interrupt_type irq_chip
> typedef struct irq_chip hw_irq_controller;
> #define no_irq_type no_irq_chip
> typedef struct irq_desc irq_desc_t;
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte')
-rw-r--r-- | arch/mips/sibyte/bcm1480/irq.c | 8 | ||||
-rw-r--r-- | arch/mips/sibyte/sb1250/irq.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index 29d3bbb5847d..2c5afb4c2ef3 100644 --- a/arch/mips/sibyte/bcm1480/irq.c +++ b/arch/mips/sibyte/bcm1480/irq.c | |||
@@ -83,7 +83,7 @@ extern char sb1250_duart_present[]; | |||
83 | #endif | 83 | #endif |
84 | #endif | 84 | #endif |
85 | 85 | ||
86 | static struct hw_interrupt_type bcm1480_irq_type = { | 86 | static struct irq_chip bcm1480_irq_type = { |
87 | .typename = "BCM1480-IMR", | 87 | .typename = "BCM1480-IMR", |
88 | .startup = startup_bcm1480_irq, | 88 | .startup = startup_bcm1480_irq, |
89 | .shutdown = shutdown_bcm1480_irq, | 89 | .shutdown = shutdown_bcm1480_irq, |
@@ -140,7 +140,7 @@ static void bcm1480_set_affinity(unsigned int irq, cpumask_t mask) | |||
140 | { | 140 | { |
141 | int i = 0, old_cpu, cpu, int_on, k; | 141 | int i = 0, old_cpu, cpu, int_on, k; |
142 | u64 cur_ints; | 142 | u64 cur_ints; |
143 | irq_desc_t *desc = irq_desc + irq; | 143 | struct irq_desc *desc = irq_desc + irq; |
144 | unsigned long flags; | 144 | unsigned long flags; |
145 | unsigned int irq_dirty; | 145 | unsigned int irq_dirty; |
146 | 146 | ||
@@ -278,7 +278,7 @@ void __init init_bcm1480_irqs(void) | |||
278 | irq_desc[i].chip = &bcm1480_irq_type; | 278 | irq_desc[i].chip = &bcm1480_irq_type; |
279 | bcm1480_irq_owner[i] = 0; | 279 | bcm1480_irq_owner[i] = 0; |
280 | } else { | 280 | } else { |
281 | irq_desc[i].chip = &no_irq_type; | 281 | irq_desc[i].chip = &no_irq_chip; |
282 | } | 282 | } |
283 | } | 283 | } |
284 | } | 284 | } |
@@ -301,7 +301,7 @@ static struct irqaction bcm1480_dummy_action = { | |||
301 | 301 | ||
302 | int bcm1480_steal_irq(int irq) | 302 | int bcm1480_steal_irq(int irq) |
303 | { | 303 | { |
304 | irq_desc_t *desc = irq_desc + irq; | 304 | struct irq_desc *desc = irq_desc + irq; |
305 | unsigned long flags; | 305 | unsigned long flags; |
306 | int retval = 0; | 306 | int retval = 0; |
307 | 307 | ||
diff --git a/arch/mips/sibyte/sb1250/irq.c b/arch/mips/sibyte/sb1250/irq.c index 1d280aabcf6a..8d49cb52d192 100644 --- a/arch/mips/sibyte/sb1250/irq.c +++ b/arch/mips/sibyte/sb1250/irq.c | |||
@@ -69,7 +69,7 @@ extern char sb1250_duart_present[]; | |||
69 | #endif | 69 | #endif |
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | static struct hw_interrupt_type sb1250_irq_type = { | 72 | static struct irq_chip sb1250_irq_type = { |
73 | .typename = "SB1250-IMR", | 73 | .typename = "SB1250-IMR", |
74 | .startup = startup_sb1250_irq, | 74 | .startup = startup_sb1250_irq, |
75 | .shutdown = shutdown_sb1250_irq, | 75 | .shutdown = shutdown_sb1250_irq, |
@@ -120,7 +120,7 @@ static void sb1250_set_affinity(unsigned int irq, cpumask_t mask) | |||
120 | { | 120 | { |
121 | int i = 0, old_cpu, cpu, int_on; | 121 | int i = 0, old_cpu, cpu, int_on; |
122 | u64 cur_ints; | 122 | u64 cur_ints; |
123 | irq_desc_t *desc = irq_desc + irq; | 123 | struct irq_desc *desc = irq_desc + irq; |
124 | unsigned long flags; | 124 | unsigned long flags; |
125 | 125 | ||
126 | i = first_cpu(mask); | 126 | i = first_cpu(mask); |
@@ -248,7 +248,7 @@ void __init init_sb1250_irqs(void) | |||
248 | irq_desc[i].chip = &sb1250_irq_type; | 248 | irq_desc[i].chip = &sb1250_irq_type; |
249 | sb1250_irq_owner[i] = 0; | 249 | sb1250_irq_owner[i] = 0; |
250 | } else { | 250 | } else { |
251 | irq_desc[i].chip = &no_irq_type; | 251 | irq_desc[i].chip = &no_irq_chip; |
252 | } | 252 | } |
253 | } | 253 | } |
254 | } | 254 | } |
@@ -271,7 +271,7 @@ static struct irqaction sb1250_dummy_action = { | |||
271 | 271 | ||
272 | int sb1250_steal_irq(int irq) | 272 | int sb1250_steal_irq(int irq) |
273 | { | 273 | { |
274 | irq_desc_t *desc = irq_desc + irq; | 274 | struct irq_desc *desc = irq_desc + irq; |
275 | unsigned long flags; | 275 | unsigned long flags; |
276 | int retval = 0; | 276 | int retval = 0; |
277 | 277 | ||