summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/elf.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-21 19:04:55 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-09-21 19:04:55 +0900
commite7ab3cd251926d57ee11d7d320e8fb42c882ad22 (patch)
tree29dce1711413e010d30fb62c43cbe517a9de95bc /arch/sh/include/asm/elf.h
parent4b4cf7595a8bce9b4dd64c241a8cb7336ecb9489 (diff)
sh: Add FPU registers to regset interface.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/elf.h')
-rw-r--r--arch/sh/include/asm/elf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/include/asm/elf.h b/arch/sh/include/asm/elf.h
index 6b2cec80fd15..4da3a0b10911 100644
--- a/arch/sh/include/asm/elf.h
+++ b/arch/sh/include/asm/elf.h
@@ -108,10 +108,10 @@ typedef struct user_fpu_struct elf_fpregset_t;
#define elf_check_fdpic(x) ((x)->e_flags & EF_SH_FDPIC)
#define elf_check_const_displacement(x) ((x)->e_flags & EF_SH_PIC)
-#if defined(CONFIG_SUPERH32) && !defined(CONFIG_SH_FPU)
+#ifdef CONFIG_SUPERH32
/*
- * Enable dump using regset for general purpose registers, use this as
- * the default once the FPU registers are moved over also.
+ * Enable dump using regset.
+ * This covers all of general/DSP/FPU regs.
*/
#define CORE_DUMP_USE_REGSET
#endif