aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sni/pcit.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2007-02-23 15:39:38 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-02-26 18:06:06 -0500
commitf13cc01d8d3630ba42680ac56b3bedfce812e531 (patch)
tree0737d5e36474827dff3bc05cb1071946b3e366fa /arch/mips/sni/pcit.c
parent3dac2561e2ed8d75a8bb682c25a32b271298ff49 (diff)
[MIPS] SNI: MIPS_CPU_IRQ_BASE cleanup
Use MIPS_CPU_IRQ_BASE instead of own define. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sni/pcit.c')
-rw-r--r--arch/mips/sni/pcit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/sni/pcit.c b/arch/mips/sni/pcit.c
index 3921096023c3..8d6b3d5b13a1 100644
--- a/arch/mips/sni/pcit.c
+++ b/arch/mips/sni/pcit.c
@@ -276,11 +276,11 @@ static void sni_pcit_hwint(void)
276 if (pending & C_IRQ1) 276 if (pending & C_IRQ1)
277 pcit_hwint1(); 277 pcit_hwint1();
278 else if (pending & C_IRQ2) 278 else if (pending & C_IRQ2)
279 do_IRQ (SNI_MIPS_IRQ_CPU_BASE + 4); 279 do_IRQ (MIPS_CPU_IRQ_BASE + 4);
280 else if (pending & C_IRQ3) 280 else if (pending & C_IRQ3)
281 do_IRQ (SNI_MIPS_IRQ_CPU_BASE + 5); 281 do_IRQ (MIPS_CPU_IRQ_BASE + 5);
282 else if (pending & C_IRQ5) 282 else if (pending & C_IRQ5)
283 do_IRQ (SNI_MIPS_IRQ_CPU_BASE + 7); 283 do_IRQ (MIPS_CPU_IRQ_BASE + 7);
284} 284}
285 285
286static void sni_pcit_hwint_cplus(void) 286static void sni_pcit_hwint_cplus(void)
@@ -290,11 +290,11 @@ static void sni_pcit_hwint_cplus(void)
290 if (pending & C_IRQ0) 290 if (pending & C_IRQ0)
291 pcit_hwint0(); 291 pcit_hwint0();
292 else if (pending & C_IRQ2) 292 else if (pending & C_IRQ2)
293 do_IRQ (SNI_MIPS_IRQ_CPU_BASE + 4); 293 do_IRQ (MIPS_CPU_IRQ_BASE + 4);
294 else if (pending & C_IRQ3) 294 else if (pending & C_IRQ3)
295 do_IRQ (SNI_MIPS_IRQ_CPU_BASE + 5); 295 do_IRQ (MIPS_CPU_IRQ_BASE + 5);
296 else if (pending & C_IRQ5) 296 else if (pending & C_IRQ5)
297 do_IRQ (SNI_MIPS_IRQ_CPU_BASE + 7); 297 do_IRQ (MIPS_CPU_IRQ_BASE + 7);
298} 298}
299 299
300void __init sni_pcit_irq_init(void) 300void __init sni_pcit_irq_init(void)