Skip to content

Commit

Permalink
[MIPS] Always install the DSP exception handler.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Dearman authored and Ralf Baechle committed Jun 11, 2007
1 parent da9bc72 commit acaec42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit acaec42

Please sign in to comment.