aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards/atlas/atlas_int.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mips-boards/atlas/atlas_int.c')
-rw-r--r--arch/mips/mips-boards/atlas/atlas_int.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/mips-boards/atlas/atlas_int.c b/arch/mips/mips-boards/atlas/atlas_int.c
index 9f49da95aacf..6c8f0255e85d 100644
--- a/arch/mips/mips-boards/atlas/atlas_int.c
+++ b/arch/mips/mips-boards/atlas/atlas_int.c
@@ -189,7 +189,7 @@ asmlinkage void plat_irq_dispatch(void)
189 if (irq == MIPSCPU_INT_ATLAS) 189 if (irq == MIPSCPU_INT_ATLAS)
190 atlas_hw0_irqdispatch(); 190 atlas_hw0_irqdispatch();
191 else if (irq >= 0) 191 else if (irq >= 0)
192 do_IRQ(MIPSCPU_INT_BASE + irq); 192 do_IRQ(MIPS_CPU_IRQ_BASE + irq);
193 else 193 else
194 spurious_interrupt(); 194 spurious_interrupt();
195} 195}
@@ -261,11 +261,11 @@ void __init arch_init_irq(void)
261 } else if (cpu_has_vint) { 261 } else if (cpu_has_vint) {
262 set_vi_handler (MIPSCPU_INT_ATLAS, atlas_hw0_irqdispatch); 262 set_vi_handler (MIPSCPU_INT_ATLAS, atlas_hw0_irqdispatch);
263#ifdef CONFIG_MIPS_MT_SMTC 263#ifdef CONFIG_MIPS_MT_SMTC
264 setup_irq_smtc (MIPSCPU_INT_BASE + MIPSCPU_INT_ATLAS, 264 setup_irq_smtc (MIPS_CPU_IRQ_BASE + MIPSCPU_INT_ATLAS,
265 &atlasirq, (0x100 << MIPSCPU_INT_ATLAS)); 265 &atlasirq, (0x100 << MIPSCPU_INT_ATLAS));
266#else /* Not SMTC */ 266#else /* Not SMTC */
267 setup_irq(MIPSCPU_INT_BASE + MIPSCPU_INT_ATLAS, &atlasirq); 267 setup_irq(MIPS_CPU_IRQ_BASE + MIPSCPU_INT_ATLAS, &atlasirq);
268#endif /* CONFIG_MIPS_MT_SMTC */ 268#endif /* CONFIG_MIPS_MT_SMTC */
269 } else 269 } else
270 setup_irq(MIPSCPU_INT_BASE + MIPSCPU_INT_ATLAS, &atlasirq); 270 setup_irq(MIPS_CPU_IRQ_BASE + MIPSCPU_INT_ATLAS, &atlasirq);
271} 271}