Ver Fonte

[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 <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Chris Dearman há 18 anos atrás
pai
commit
acaec427bc
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      arch/mips/kernel/traps.c

+ 1 - 2
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. */