mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
79ecaf0d15
commit
f0af911a9d
2 changed files with 14 additions and 0 deletions
|
@ -2050,6 +2050,7 @@ extern void release_uids(struct user_namespace *ns);
|
|||
#include <asm/current.h>
|
||||
|
||||
extern void do_timer(unsigned long ticks);
|
||||
extern void xtime_update(unsigned long ticks);
|
||||
|
||||
extern int wake_up_state(struct task_struct *tsk, unsigned int state);
|
||||
extern int wake_up_process(struct task_struct *tsk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue