summaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-12-10 16:33:32 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:19:00 +0900
commit543d5afe5b425ef25a865656bfb76083515dc1cf (patch)
tree5bd205fa2cafeaa62c212fd497979e11ff5ce297 /include/asm-sh
parent98c4ecde9da14fafbcf1b6c025b08342a327e644 (diff)
downloadop-kernel-dev-543d5afe5b425ef25a865656bfb76083515dc1cf.zip
op-kernel-dev-543d5afe5b425ef25a865656bfb76083515dc1cf.tar.gz
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 e00a58c..05092da 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;
#define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
-
#define ELF_CORE_COPY_REGS(_dest,_regs) \
memcpy((char *) &_dest, (char *) _regs, \
sizeof(struct pt_regs));
@@ -139,7 +138,6 @@ typedef struct user_fpu_struct elf_fpregset_t;
_r->sr = SR_FD; } while (0)
#endif
-#ifdef __KERNEL__
#define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT)
struct task_struct;
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 *);
#define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
#define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs)
-#endif
#ifdef CONFIG_VSYSCALL
/* vDSO has arch_setup_additional_pages */
OpenPOWER on IntegriCloud