traps_32.c (b92efa9abffc4a634cd2e7a0f81f8aa6310d67c9) traps_32.c (01ab10393c510342ec4ce85df11ccfa3df06bbb2)
1/*
2 * 'traps.c' handles hardware traps and faults after we have saved some
3 * state in 'entry.S'.
4 *
5 * SuperH version: Copyright (C) 1999 Niibe Yutaka
6 * Copyright (C) 2000 Philipp Rumpf
7 * Copyright (C) 2000 David Howells
8 * Copyright (C) 2002 - 2007 Paul Mundt

--- 650 unchanged lines hidden (view full) ---

659 /* not a FPU inst. */
660#endif
661
662#ifdef CONFIG_SH_DSP
663 /* Check if it's a DSP instruction */
664 if (is_dsp_inst(regs)) {
665 /* Enable DSP mode, and restart instruction. */
666 regs->sr |= SR_DSP;
1/*
2 * 'traps.c' handles hardware traps and faults after we have saved some
3 * state in 'entry.S'.
4 *
5 * SuperH version: Copyright (C) 1999 Niibe Yutaka
6 * Copyright (C) 2000 Philipp Rumpf
7 * Copyright (C) 2000 David Howells
8 * Copyright (C) 2002 - 2007 Paul Mundt

--- 650 unchanged lines hidden (view full) ---

659 /* not a FPU inst. */
660#endif
661
662#ifdef CONFIG_SH_DSP
663 /* Check if it's a DSP instruction */
664 if (is_dsp_inst(regs)) {
665 /* Enable DSP mode, and restart instruction. */
666 regs->sr |= SR_DSP;
667 /* Save DSP mode */
668 tsk->thread.dsp_status.status |= SR_DSP;
667 return;
668 }
669#endif
670
671 error_code = lookup_exception_vector();
672
673 local_irq_enable();
674 force_sig(SIGILL, tsk);

--- 225 unchanged lines hidden ---
669 return;
670 }
671#endif
672
673 error_code = lookup_exception_vector();
674
675 local_irq_enable();
676 force_sig(SIGILL, tsk);

--- 225 unchanged lines hidden ---