Commit acaec427 authored by Chris Dearman's avatar Chris Dearman Committed by Ralf Baechle

[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: default avatarChris Dearman <chris@mips.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent da9bc726
...@@ -1531,8 +1531,7 @@ void __init trap_init(void) ...@@ -1531,8 +1531,7 @@ void __init trap_init(void)
if (cpu_has_mipsmt) if (cpu_has_mipsmt)
set_except_vector(25, handle_mt); 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) if (cpu_has_vce)
/* Special exception: R4[04]00 uses also the divec space. */ /* Special exception: R4[04]00 uses also the divec space. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment