aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-02-16 04:27:42 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-16 11:13:57 -0500
commit7e69f2b1ead2a4c51c12817f18263ff0e59335a6 (patch)
treeb00295fb1983dd0624b94a613c8661c1bd995a29 /include/linux/clocksource.h
parent877fe38029366c19def24359627db8cc24d9fef6 (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 'include/linux/clocksource.h')
-rw-r--r--include/linux/clocksource.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index 45b0c310ae82..a585a29fe7c4 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -44,7 +44,6 @@ typedef u64 cycle_t;
44 * subtraction of non 64 bit counters 44 * subtraction of non 64 bit counters
45 * @mult: cycle to nanosecond multiplier 45 * @mult: cycle to nanosecond multiplier
46 * @shift: cycle to nanosecond divisor (power of two) 46 * @shift: cycle to nanosecond divisor (power of two)
47 * @update_callback: called when safe to alter clocksource values
48 * @flags: flags describing special properties 47 * @flags: flags describing special properties
49 * @cycle_interval: Used internally by timekeeping core, please ignore. 48 * @cycle_interval: Used internally by timekeeping core, please ignore.
50 * @xtime_interval: Used internally by timekeeping core, please ignore. 49 * @xtime_interval: Used internally by timekeeping core, please ignore.
@@ -57,7 +56,6 @@ struct clocksource {
57 cycle_t mask; 56 cycle_t mask;
58 u32 mult; 57 u32 mult;
59 u32 shift; 58 u32 shift;
60 int (*update_callback)(void);
61 unsigned long flags; 59 unsigned long flags;
62 60
63 /* timekeeping specific data, ignore */ 61 /* timekeeping specific data, ignore */