aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@gmx.de>2011-01-27 09:59:10 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-01-31 08:55:43 -0500
commitf0af911a9dec9de702645182c8d269449e24d24b (patch)
tree17cd5683ab3878479b59d9786102fcf699d3051a /include/linux/sched.h
parent79ecaf0d15344d78904becf0f25de3fc9b49d430 (diff)
time: Provide xtime_update()
xtime_update() takes xtime_lock write locked and calls do_timer(). Provided to replace the do_timer() calls in the architecture code. Signed-off-by: Torben Hohn <torbenh@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: johnstul@us.ibm.com Cc: yong.zhang0@gmail.com Cc: hch@infradead.org LKML-Reference: <20110127145910.23248.21379.stgit@localhost> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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 d747f948b34e..9d9a0787eed3 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2050,6 +2050,7 @@ extern void release_uids(struct user_namespace *ns);
2050#include <asm/current.h> 2050#include <asm/current.h>
2051 2051
2052extern void do_timer(unsigned long ticks); 2052extern void do_timer(unsigned long ticks);
2053extern void xtime_update(unsigned long ticks);
2053 2054
2054extern int wake_up_state(struct task_struct *tsk, unsigned int state); 2055extern int wake_up_state(struct task_struct *tsk, unsigned int state);
2055extern int wake_up_process(struct task_struct *tsk); 2056extern int wake_up_process(struct task_struct *tsk);