diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-05-01 11:58:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:58:54 -0400 |
commit | c16993d9009b4311f0e6088af38844eabc8b5e5b (patch) | |
tree | b00000bc1f7eb3f76ad16a15ee57bfb5ea3d3fd4 | |
parent | c45166be3cc666ce88fe623ad79276c943e74eff (diff) |
[PATCH] uml: inline empty proc
Cleanup: make an inline of this empty proc.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/um/kernel/process_kern.c | 4 | ||||
-rw-r--r-- | include/asm-um/processor-generic.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/um/kernel/process_kern.c b/arch/um/kernel/process_kern.c index 1d719d5b4bb9..7a943696f950 100644 --- a/arch/um/kernel/process_kern.c +++ b/arch/um/kernel/process_kern.c | |||
@@ -161,10 +161,6 @@ void *get_current(void) | |||
161 | return(current); | 161 | return(current); |
162 | } | 162 | } |
163 | 163 | ||
164 | void prepare_to_copy(struct task_struct *tsk) | ||
165 | { | ||
166 | } | ||
167 | |||
168 | int copy_thread(int nr, unsigned long clone_flags, unsigned long sp, | 164 | int copy_thread(int nr, unsigned long clone_flags, unsigned long sp, |
169 | unsigned long stack_top, struct task_struct * p, | 165 | unsigned long stack_top, struct task_struct * p, |
170 | struct pt_regs *regs) | 166 | struct pt_regs *regs) |
diff --git a/include/asm-um/processor-generic.h b/include/asm-um/processor-generic.h index 038ba6fc88b8..4d9404989b5a 100644 --- a/include/asm-um/processor-generic.h +++ b/include/asm-um/processor-generic.h | |||
@@ -89,7 +89,11 @@ extern struct task_struct *alloc_task_struct(void); | |||
89 | extern void release_thread(struct task_struct *); | 89 | extern void release_thread(struct task_struct *); |
90 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); | 90 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); |
91 | extern void dump_thread(struct pt_regs *regs, struct user *u); | 91 | extern void dump_thread(struct pt_regs *regs, struct user *u); |
92 | extern void prepare_to_copy(struct task_struct *tsk); | 92 | |
93 | static inline void prepare_to_copy(struct task_struct *tsk) | ||
94 | { | ||
95 | } | ||
96 | |||
93 | 97 | ||
94 | extern unsigned long thread_saved_pc(struct task_struct *t); | 98 | extern unsigned long thread_saved_pc(struct task_struct *t); |
95 | 99 | ||