summaryrefslogtreecommitdiffstats
path: root/include/asm-um
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2005-05-01 08:58:54 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 08:58:54 -0700
commitc16993d9009b4311f0e6088af38844eabc8b5e5b (patch)
treeb00000bc1f7eb3f76ad16a15ee57bfb5ea3d3fd4 /include/asm-um
parentc45166be3cc666ce88fe623ad79276c943e74eff (diff)
downloadkernel-crypto-c16993d9009b4311f0e6088af38844eabc8b5e5b.tar.gz
kernel-crypto-c16993d9009b4311f0e6088af38844eabc8b5e5b.tar.xz
kernel-crypto-c16993d9009b4311f0e6088af38844eabc8b5e5b.zip
[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>
Diffstat (limited to 'include/asm-um')
-rw-r--r--include/asm-um/processor-generic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-um/processor-generic.h b/include/asm-um/processor-generic.h
index 038ba6fc88b..4d9404989b5 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);
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);