summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-15 09:56:34 -0800
committerIngo Molnar <mingo@elte.hu>2008-02-25 16:34:17 +0100
commit2d07b255c7b8a9723010e5c74778e058dc05162e (patch)
tree3d1e2d56a89c23faede930f77e875a718fb4f0b6 /include/linux/sched.h
parent67ca7bde2e9d3516b5ae0188330ad1059ac03f38 (diff)
downloadop-kernel-dev-2d07b255c7b8a9723010e5c74778e058dc05162e.zip
op-kernel-dev-2d07b255c7b8a9723010e5c74778e058dc05162e.tar.gz
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 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index e217d18..9c17e82 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -242,6 +242,7 @@ struct task_struct;
extern void sched_init(void);
extern void sched_init_smp(void);
+extern asmlinkage void schedule_tail(struct task_struct *prev);
extern void init_idle(struct task_struct *idle, int cpu);
extern void init_idle_bootup_task(struct task_struct *idle);
OpenPOWER on IntegriCloud