diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-09 21:31:07 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-30 22:21:36 -0400 |
commit | 9e14f828ee4a7a4a98703e380d180717a579fb35 (patch) | |
tree | ce7554478f9abf5de5f47760ebff548485762142 /arch/arm/include | |
parent | 38b983b3461e7d3c64a981e2338bb34605c46f30 (diff) |
arm: split ret_from_fork, simplify kernel_thread() [based on patch by rmk]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/processor.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h index 99afa7498260..06e7d509eaac 100644 --- a/arch/arm/include/asm/processor.h +++ b/arch/arm/include/asm/processor.h | |||
@@ -85,11 +85,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
85 | #define cpu_relax() barrier() | 85 | #define cpu_relax() barrier() |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | /* | ||
89 | * Create a new kernel thread | ||
90 | */ | ||
91 | extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); | ||
92 | |||
93 | #define task_pt_regs(p) \ | 88 | #define task_pt_regs(p) \ |
94 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) | 89 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) |
95 | 90 | ||