projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm: split ret_from_fork, simplify kernel_thread() [based on patch by rmk]
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
include
/
asm
/
processor.h
diff --git
a/arch/arm/include/asm/processor.h
b/arch/arm/include/asm/processor.h
index 99afa7498260cdad985eaf9c74fd713095dd09f6..06e7d509eaac218864cc9d089ce9e6f4177c22f9 100644
(file)
--- 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);
#define cpu_relax() barrier()
#endif
-/*
- * Create a new kernel thread
- */
-extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
-
#define task_pt_regs(p) \
((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1)