summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/kernel/fpu.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-03-18 17:54:30 +0100
committerDavid Howells <dhowells@redhat.com>2011-03-18 17:54:30 +0100
commit67ddb4052daac9d449caf2643ac365d42a04219a (patch)
tree7c610973a19b7e70b47294c540b182f203680fde /arch/mn10300/kernel/fpu.c
parentMN10300: Create general kernel debugger cache flushing (diff)
downloadlinux-67ddb4052daac9d449caf2643ac365d42a04219a.tar.xz
linux-67ddb4052daac9d449caf2643ac365d42a04219a.zip
MN10300: Create generic kernel debugger hooks
Create generic kernel debugger hooks in the MN10300 arch and make gdbstub use them. This is a preparation for KGDB support. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/kernel/fpu.c')
-rw-r--r--arch/mn10300/kernel/fpu.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/mn10300/kernel/fpu.c b/arch/mn10300/kernel/fpu.c
index 5f9c3fa19a85..bb5fa7df6c44 100644
--- a/arch/mn10300/kernel/fpu.c
+++ b/arch/mn10300/kernel/fpu.c
@@ -70,24 +70,6 @@ asmlinkage void fpu_exception(struct pt_regs *regs, enum exception_code code)
}
/*
- * handle an FPU invalid_op exception
- * - Derived from DO_EINFO() macro in arch/mn10300/kernel/traps.c
- */
-asmlinkage void fpu_invalid_op(struct pt_regs *regs, enum exception_code code)
-{
- siginfo_t info;
-
- if (!user_mode(regs))
- die_if_no_fixup("FPU invalid opcode", regs, code);
-
- info.si_signo = SIGILL;
- info.si_errno = 0;
- info.si_code = ILL_COPROC;
- info.si_addr = (void *) regs->pc;
- force_sig_info(info.si_signo, &info, current);
-}
-
-/*
* save the FPU state to a signal context
*/
int fpu_setup_sigcontext(struct fpucontext *fpucontext)