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 /arch/ia64 | |
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 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 71c52bc7c28d..11dc42da7daf 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
@@ -441,7 +441,7 @@ void update_vsyscall_tz(void) | |||
441 | } | 441 | } |
442 | 442 | ||
443 | void update_vsyscall_old(struct timespec *wall, struct timespec *wtm, | 443 | void update_vsyscall_old(struct timespec *wall, struct timespec *wtm, |
444 | struct clocksource *c, u32 mult) | 444 | struct clocksource *c, u32 mult, cycles_t cycle_last) |
445 | { | 445 | { |
446 | write_seqcount_begin(&fsyscall_gtod_data.seq); | 446 | write_seqcount_begin(&fsyscall_gtod_data.seq); |
447 | 447 | ||
@@ -450,7 +450,7 @@ void update_vsyscall_old(struct timespec *wall, struct timespec *wtm, | |||
450 | fsyscall_gtod_data.clk_mult = mult; | 450 | fsyscall_gtod_data.clk_mult = mult; |
451 | fsyscall_gtod_data.clk_shift = c->shift; | 451 | fsyscall_gtod_data.clk_shift = c->shift; |
452 | fsyscall_gtod_data.clk_fsys_mmio = c->archdata.fsys_mmio; | 452 | fsyscall_gtod_data.clk_fsys_mmio = c->archdata.fsys_mmio; |
453 | fsyscall_gtod_data.clk_cycle_last = c->cycle_last; | 453 | fsyscall_gtod_data.clk_cycle_last = cycle_last; |
454 | 454 | ||
455 | /* copy kernel time structures */ | 455 | /* copy kernel time structures */ |
456 | fsyscall_gtod_data.wall_time.tv_sec = wall->tv_sec; | 456 | fsyscall_gtod_data.wall_time.tv_sec = wall->tv_sec; |