diff options
author | john stultz | 2006-06-26 09:25:06 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-06-26 18:58:20 +0200 |
commit | ad596171ed635c51a9eef829187af100cbf8dcf7 (patch) | |
tree | 24b19bec1b1abd8bd110064226569aa42dde0b3b /init | |
parent | [PATCH] Time: Clocksource Infrastructure (diff) | |
download | kernel-qcow2-linux-ad596171ed635c51a9eef829187af100cbf8dcf7.tar.gz kernel-qcow2-linux-ad596171ed635c51a9eef829187af100cbf8dcf7.tar.xz kernel-qcow2-linux-ad596171ed635c51a9eef829187af100cbf8dcf7.zip |
[PATCH] Time: Use clocksource infrastructure for update_wall_time
Modify the update_wall_time function so it increments time using the
clocksource abstraction instead of jiffies. Since the only clocksource driver
currently provided is the jiffies clocksource, this should result in no
functional change. Additionally, a timekeeping_init and timekeeping_resume
function has been added to initialize and maintain some of the new timekeping
state.
[hirofumi@mail.parknet.co.jp: fixlet]
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index f715b9b89753..9a970d317ea5 100644 --- a/init/main.c +++ b/init/main.c @@ -490,6 +490,7 @@ asmlinkage void __init start_kernel(void) hrtimers_init(); softirq_init(); time_init(); + timekeeping_init(); /* * HACK ALERT! This is early. We're enabling the console before |