aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/traps.c')
-rw-r--r--arch/m68k/kernel/traps.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c
index b19b951fd3e7..e86de7b061cd 100644
--- a/arch/m68k/kernel/traps.c
+++ b/arch/m68k/kernel/traps.c
@@ -87,16 +87,15 @@ void __init trap_init (void)
87{ 87{
88 int i; 88 int i;
89 89
90 vectors[VEC_SPUR] = bad_inthandler; 90 for (i = VEC_SPUR; i <= VEC_INT7; i++)
91 for (i = VEC_INT1; i <= VEC_INT7; i++) 91 vectors[i] = bad_inthandler;
92 vectors[i] = auto_inthandler;
93 92
94 for (i = 0; i < VEC_USER; i++) 93 for (i = 0; i < VEC_USER; i++)
95 if (!vectors[i]) 94 if (!vectors[i])
96 vectors[i] = trap; 95 vectors[i] = trap;
97 96
98 for (i = VEC_USER; i < 256; i++) 97 for (i = VEC_USER; i < 256; i++)
99 vectors[i] = mach_inthandler; 98 vectors[i] = bad_inthandler;
100 99
101#ifdef CONFIG_M68KFPU_EMU 100#ifdef CONFIG_M68KFPU_EMU
102 if (FPU_IS_EMU) 101 if (FPU_IS_EMU)