[MIPS] Always install the DSP exception handler.
authorChris Dearman <chris@mips.com>
Thu, 24 May 2007 21:30:18 +0000 (22:30 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 11 Jun 2007 17:20:53 +0000 (18:20 +0100)
Some non-DSP enabled cores 24K / 34K can generate a DSP exception where they
are actually expected to produce a reserved instruction exception.

Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c

index 3f58b6ac135815fe5944d3f98ec943f1529ce41d..48c8b2597142a79815ae5e192b8a907de67286a3 100644 (file)
@@ -1531,8 +1531,7 @@ void __init trap_init(void)
        if (cpu_has_mipsmt)
                set_except_vector(25, handle_mt);
 
-       if (cpu_has_dsp)
-               set_except_vector(26, handle_dsp);
+       set_except_vector(26, handle_dsp);
 
        if (cpu_has_vce)
                /* Special exception: R4[04]00 uses also the divec space. */