diff options
Diffstat (limited to 'arch/sh/kernel/traps_32.c')
-rw-r--r-- | arch/sh/kernel/traps_32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c index 60dcf87ed019..30ca9c51e52d 100644 --- a/arch/sh/kernel/traps_32.c +++ b/arch/sh/kernel/traps_32.c | |||
@@ -664,6 +664,8 @@ asmlinkage void do_reserved_inst(unsigned long r4, unsigned long r5, | |||
664 | if (is_dsp_inst(regs)) { | 664 | if (is_dsp_inst(regs)) { |
665 | /* Enable DSP mode, and restart instruction. */ | 665 | /* Enable DSP mode, and restart instruction. */ |
666 | regs->sr |= SR_DSP; | 666 | regs->sr |= SR_DSP; |
667 | /* Save DSP mode */ | ||
668 | tsk->thread.dsp_status.status |= SR_DSP; | ||
667 | return; | 669 | return; |
668 | } | 670 | } |
669 | #endif | 671 | #endif |