From: Chris Dearman Date: Thu, 24 May 2007 21:30:18 +0000 (+0100) Subject: [MIPS] Always install the DSP exception handler. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=acaec427bc81199da41fb000ab1979041ebc3289;p=openwrt%2Fstaging%2Fblogic.git [MIPS] Always install the DSP exception handler. 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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 3f58b6ac1358..48c8b2597142 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -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. */