diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-02-16 04:27:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 11:13:57 -0500 |
commit | 7e69f2b1ead2a4c51c12817f18263ff0e59335a6 (patch) | |
tree | b00295fb1983dd0624b94a613c8661c1bd995a29 /kernel | |
parent | 877fe38029366c19def24359627db8cc24d9fef6 (diff) |
[PATCH] clocksource: Remove the update callback
The clocksource code allows direct updates of the rating of a given
clocksource now. Change TSC unstable tracking to use this interface and
remove the update callback.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/timer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index 1144ff2c2ea3..4b088fcadb3f 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
@@ -848,8 +848,6 @@ static int change_clocksource(void) | |||
848 | printk(KERN_INFO "Time: %s clocksource has been installed.\n", | 848 | printk(KERN_INFO "Time: %s clocksource has been installed.\n", |
849 | clock->name); | 849 | clock->name); |
850 | return 1; | 850 | return 1; |
851 | } else if (clock->update_callback) { | ||
852 | return clock->update_callback(); | ||
853 | } | 851 | } |
854 | return 0; | 852 | return 0; |
855 | } | 853 | } |