aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/dec
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/dec')
-rw-r--r--arch/mips/dec/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c
index 56e6e2c23683..41bbffd9cc0e 100644
--- a/arch/mips/dec/setup.c
+++ b/arch/mips/dec/setup.c
@@ -23,6 +23,7 @@
23#include <asm/bootinfo.h> 23#include <asm/bootinfo.h>
24#include <asm/cpu.h> 24#include <asm/cpu.h>
25#include <asm/cpu-features.h> 25#include <asm/cpu-features.h>
26#include <asm/cpu-type.h>
26#include <asm/irq.h> 27#include <asm/irq.h>
27#include <asm/irq_cpu.h> 28#include <asm/irq_cpu.h>
28#include <asm/mipsregs.h> 29#include <asm/mipsregs.h>
@@ -748,6 +749,10 @@ void __init arch_init_irq(void)
748 cpu_fpu_mask = 0; 749 cpu_fpu_mask = 0;
749 dec_interrupt[DEC_IRQ_FPU] = -1; 750 dec_interrupt[DEC_IRQ_FPU] = -1;
750 } 751 }
752 /* Free the halt interrupt unused on R4k systems. */
753 if (current_cpu_type() == CPU_R4000SC ||
754 current_cpu_type() == CPU_R4400SC)
755 dec_interrupt[DEC_IRQ_HALT] = -1;
751 756
752 /* Register board interrupts: FPU and cascade. */ 757 /* Register board interrupts: FPU and cascade. */
753 if (dec_interrupt[DEC_IRQ_FPU] >= 0) 758 if (dec_interrupt[DEC_IRQ_FPU] >= 0)