[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>
This commit is contained in:
parent
c45166be3c
commit
c16993d900
|
@ -161,10 +161,6 @@ void *get_current(void)
|
|||
return(current);
|
||||
}
|
||||
|
||||
void prepare_to_copy(struct task_struct *tsk)
|
||||
{
|
||||
}
|
||||
|
||||
int copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
|
||||
unsigned long stack_top, struct task_struct * p,
|
||||
struct pt_regs *regs)
|
||||
|
|
|
@ -89,7 +89,11 @@ extern struct task_struct *alloc_task_struct(void);
|
|||
extern void release_thread(struct task_struct *);
|
||||
extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
|
||||
extern void dump_thread(struct pt_regs *regs, struct user *u);
|
||||
extern void prepare_to_copy(struct task_struct *tsk);
|
||||
|
||||
static inline void prepare_to_copy(struct task_struct *tsk)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
extern unsigned long thread_saved_pc(struct task_struct *t);
|
||||
|
||||
|
|
Loading…
Reference in New Issue