diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-20 21:42:37 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 21:53:36 -0500 |
commit | 910cdc553a324d3df56b73c84cdef20836817d52 (patch) | |
tree | 0043e6388fb7647c79585e26374e924006e5130b | |
parent | c62d773a3751610010feb574d859f58de4a51eba (diff) |
kill stray kernel_thread() garbage
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | arch/m32r/kernel/m32r_ksyms.c | 1 | ||||
-rw-r--r-- | arch/openrisc/include/asm/processor.h | 2 | ||||
-rw-r--r-- | arch/parisc/include/asm/processor.h | 1 | ||||
-rw-r--r-- | arch/tile/include/asm/processor.h | 2 |
4 files changed, 0 insertions, 6 deletions
diff --git a/arch/m32r/kernel/m32r_ksyms.c b/arch/m32r/kernel/m32r_ksyms.c index 700570747a90..b727e693c805 100644 --- a/arch/m32r/kernel/m32r_ksyms.c +++ b/arch/m32r/kernel/m32r_ksyms.c | |||
@@ -21,7 +21,6 @@ EXPORT_SYMBOL(boot_cpu_data); | |||
21 | EXPORT_SYMBOL(dump_fpu); | 21 | EXPORT_SYMBOL(dump_fpu); |
22 | EXPORT_SYMBOL(__ioremap); | 22 | EXPORT_SYMBOL(__ioremap); |
23 | EXPORT_SYMBOL(iounmap); | 23 | EXPORT_SYMBOL(iounmap); |
24 | EXPORT_SYMBOL(kernel_thread); | ||
25 | 24 | ||
26 | EXPORT_SYMBOL(strncpy_from_user); | 25 | EXPORT_SYMBOL(strncpy_from_user); |
27 | EXPORT_SYMBOL(__strncpy_from_user); | 26 | EXPORT_SYMBOL(__strncpy_from_user); |
diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h index 43decdbdb2ed..33691380608e 100644 --- a/arch/openrisc/include/asm/processor.h +++ b/arch/openrisc/include/asm/processor.h | |||
@@ -81,8 +81,6 @@ struct thread_struct { | |||
81 | #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) | 81 | #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) |
82 | 82 | ||
83 | 83 | ||
84 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); | ||
85 | |||
86 | void start_thread(struct pt_regs *regs, unsigned long nip, unsigned long sp); | 84 | void start_thread(struct pt_regs *regs, unsigned long nip, unsigned long sp); |
87 | void release_thread(struct task_struct *); | 85 | void release_thread(struct task_struct *); |
88 | unsigned long get_wchan(struct task_struct *p); | 86 | unsigned long get_wchan(struct task_struct *p); |
diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index 0e8b7b8ce8a2..09b54a57a48d 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h | |||
@@ -326,7 +326,6 @@ struct mm_struct; | |||
326 | 326 | ||
327 | /* Free all resources held by a thread. */ | 327 | /* Free all resources held by a thread. */ |
328 | extern void release_thread(struct task_struct *); | 328 | extern void release_thread(struct task_struct *); |
329 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); | ||
330 | 329 | ||
331 | extern void map_hpux_gateway_page(struct task_struct *tsk, struct mm_struct *mm); | 330 | extern void map_hpux_gateway_page(struct task_struct *tsk, struct mm_struct *mm); |
332 | 331 | ||
diff --git a/arch/tile/include/asm/processor.h b/arch/tile/include/asm/processor.h index 879073e76586..2b70dfb1442e 100644 --- a/arch/tile/include/asm/processor.h +++ b/arch/tile/include/asm/processor.h | |||
@@ -220,8 +220,6 @@ static inline void release_thread(struct task_struct *dead_task) | |||
220 | /* Nothing for now */ | 220 | /* Nothing for now */ |
221 | } | 221 | } |
222 | 222 | ||
223 | extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); | ||
224 | |||
225 | extern int do_work_pending(struct pt_regs *regs, u32 flags); | 223 | extern int do_work_pending(struct pt_regs *regs, u32 flags); |
226 | 224 | ||
227 | 225 | ||