diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 17:05:13 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 18:01:52 -0400 |
commit | 4a0e637738f06673725792d74eed67f8779b62c7 (patch) | |
tree | a5943ca88cc98cf65d3d2fd22f6311699ed2222b /include/linux/clocksource.h | |
parent | 09ec54429c6d10f87d1f084de53ae2c1c3a81108 (diff) |
clocksource: Get rid of cycle_last
cycle_last was added to the clocksource to support the TSC
validation. We moved that to the core code, so we can get rid of the
extra copy.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r-- | include/linux/clocksource.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h index a16b497d5159..653f0e2b6ca9 100644 --- a/include/linux/clocksource.h +++ b/include/linux/clocksource.h | |||
@@ -162,7 +162,6 @@ extern u64 timecounter_cyc2time(struct timecounter *tc, | |||
162 | * @archdata: arch-specific data | 162 | * @archdata: arch-specific data |
163 | * @suspend: suspend function for the clocksource, if necessary | 163 | * @suspend: suspend function for the clocksource, if necessary |
164 | * @resume: resume function for the clocksource, if necessary | 164 | * @resume: resume function for the clocksource, if necessary |
165 | * @cycle_last: most recent cycle counter value seen by ::read() | ||
166 | * @owner: module reference, must be set by clocksource in modules | 165 | * @owner: module reference, must be set by clocksource in modules |
167 | */ | 166 | */ |
168 | struct clocksource { | 167 | struct clocksource { |
@@ -171,7 +170,6 @@ struct clocksource { | |||
171 | * clocksource itself is cacheline aligned. | 170 | * clocksource itself is cacheline aligned. |
172 | */ | 171 | */ |
173 | cycle_t (*read)(struct clocksource *cs); | 172 | cycle_t (*read)(struct clocksource *cs); |
174 | cycle_t cycle_last; | ||
175 | cycle_t mask; | 173 | cycle_t mask; |
176 | u32 mult; | 174 | u32 mult; |
177 | u32 shift; | 175 | u32 shift; |