aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-12-10 02:33:32 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:19:00 -0500
commit543d5afe5b425ef25a865656bfb76083515dc1cf (patch)
tree5bd205fa2cafeaa62c212fd497979e11ff5ce297 /include/asm-sh
parent98c4ecde9da14fafbcf1b6c025b08342a327e644 (diff)
sh: Kill off superfluous __KERNEL__ check in asm/elf.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/elf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-sh/elf.h b/include/asm-sh/elf.h
index e00a58cb476..05092da1aa5 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)
144struct task_struct; 142struct task_struct;
145extern int dump_task_regs (struct task_struct *, elf_gregset_t *); 143extern 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 */