summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-15 18:56:34 +0100
committerIngo Molnar <mingo@elte.hu>2008-02-25 16:34:17 +0100
commit2d07b255c7b8a9723010e5c74778e058dc05162e (patch)
tree3d1e2d56a89c23faede930f77e875a718fb4f0b6 /arch/um/kernel
parentsched: fix signedness warnings in sched.c (diff)
downloadlinux-2d07b255c7b8a9723010e5c74778e058dc05162e.tar.xz
linux-2d07b255c7b8a9723010e5c74778e058dc05162e.zip
sched: add declaration of sched_tail to sched.h
Avoids sparse warnings: kernel/sched.c:2170:17: warning: symbol 'schedule_tail' was not declared. Should it be static? Avoids the need for an external declaration in arch/um/process.c Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r--arch/um/kernel/process.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c
index fc50d2f959d1..e8cb9ff183e9 100644
--- a/arch/um/kernel/process.c
+++ b/arch/um/kernel/process.c
@@ -128,8 +128,6 @@ void *get_current(void)
return current;
}
-extern void schedule_tail(struct task_struct *prev);
-
/*
* This is called magically, by its address being stuffed in a jmp_buf
* and being longjmp-d to.