summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/ptrace.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-12-10 20:14:15 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 18:44:04 +0900
commitdd76279b47dce2c0bd7c54997938ec4cb9f16884 (patch)
tree471aca15a9ff5caab3d71adf0cae52f00ac172c6 /arch/sh/include/asm/ptrace.h
parent94e2fb3d3e1f4cb6bad2b13c572c4c99ad734a37 (diff)
downloadlinux-3.10-dd76279b47dce2c0bd7c54997938ec4cb9f16884.tar.gz
linux-3.10-dd76279b47dce2c0bd7c54997938ec4cb9f16884.tar.bz2
linux-3.10-dd76279b47dce2c0bd7c54997938ec4cb9f16884.zip
sh: Provide linux/regset.h interface for SH-5.
Plugs in general and FPU regsets. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/ptrace.h')
-rw-r--r--arch/sh/include/asm/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/ptrace.h b/arch/sh/include/asm/ptrace.h
index 3ad18e91bca..12912ab80c1 100644
--- a/arch/sh/include/asm/ptrace.h
+++ b/arch/sh/include/asm/ptrace.h
@@ -86,6 +86,7 @@ struct pt_dspregs {
unsigned long re;
unsigned long mod;
};
+#endif
#define PTRACE_GETREGS 12 /* General registers */
#define PTRACE_SETREGS 13
@@ -100,7 +101,6 @@ struct pt_dspregs {
#define PTRACE_GETDSPREGS 55 /* DSP registers */
#define PTRACE_SETDSPREGS 56
-#endif
#ifdef __KERNEL__
#include <asm/addrspace.h>