diff options
-rw-r--r-- | include/asm-sh/elf.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-sh/elf.h b/include/asm-sh/elf.h index e00a58cb476c..05092da1aa59 100644 --- a/include/asm-sh/elf.h +++ b/include/asm-sh/elf.h | |||
@@ -89,7 +89,6 @@ typedef struct user_fpu_struct elf_fpregset_t; | |||
89 | 89 | ||
90 | #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) | 90 | #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) |
91 | 91 | ||
92 | |||
93 | #define ELF_CORE_COPY_REGS(_dest,_regs) \ | 92 | #define ELF_CORE_COPY_REGS(_dest,_regs) \ |
94 | memcpy((char *) &_dest, (char *) _regs, \ | 93 | memcpy((char *) &_dest, (char *) _regs, \ |
95 | sizeof(struct pt_regs)); | 94 | sizeof(struct pt_regs)); |
@@ -139,7 +138,6 @@ typedef struct user_fpu_struct elf_fpregset_t; | |||
139 | _r->sr = SR_FD; } while (0) | 138 | _r->sr = SR_FD; } while (0) |
140 | #endif | 139 | #endif |
141 | 140 | ||
142 | #ifdef __KERNEL__ | ||
143 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) | 141 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) |
144 | struct task_struct; | 142 | struct task_struct; |
145 | extern int dump_task_regs (struct task_struct *, elf_gregset_t *); | 143 | extern int dump_task_regs (struct task_struct *, elf_gregset_t *); |
@@ -147,7 +145,6 @@ extern int dump_task_fpu (struct task_struct *, elf_fpregset_t *); | |||
147 | 145 | ||
148 | #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs) | 146 | #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs) |
149 | #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs) | 147 | #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs) |
150 | #endif | ||
151 | 148 | ||
152 | #ifdef CONFIG_VSYSCALL | 149 | #ifdef CONFIG_VSYSCALL |
153 | /* vDSO has arch_setup_additional_pages */ | 150 | /* vDSO has arch_setup_additional_pages */ |