diff options
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-rw-r--r-- | arch/powerpc/kernel/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 0711d60f40b0..e215f76bba1c 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -849,8 +849,8 @@ static cycle_t timebase_read(struct clocksource *cs) | |||
849 | return (cycle_t)get_tb(); | 849 | return (cycle_t)get_tb(); |
850 | } | 850 | } |
851 | 851 | ||
852 | void update_vsyscall(struct timespec *wall_time, struct clocksource *clock, | 852 | void update_vsyscall(struct timespec *wall_time, struct timespec *wtm, |
853 | u32 mult) | 853 | struct clocksource *clock, u32 mult) |
854 | { | 854 | { |
855 | u64 new_tb_to_xs, new_stamp_xsec; | 855 | u64 new_tb_to_xs, new_stamp_xsec; |
856 | 856 | ||
@@ -882,8 +882,8 @@ void update_vsyscall(struct timespec *wall_time, struct clocksource *clock, | |||
882 | vdso_data->tb_orig_stamp = clock->cycle_last; | 882 | vdso_data->tb_orig_stamp = clock->cycle_last; |
883 | vdso_data->stamp_xsec = new_stamp_xsec; | 883 | vdso_data->stamp_xsec = new_stamp_xsec; |
884 | vdso_data->tb_to_xs = new_tb_to_xs; | 884 | vdso_data->tb_to_xs = new_tb_to_xs; |
885 | vdso_data->wtom_clock_sec = wall_to_monotonic.tv_sec; | 885 | vdso_data->wtom_clock_sec = wtm->tv_sec; |
886 | vdso_data->wtom_clock_nsec = wall_to_monotonic.tv_nsec; | 886 | vdso_data->wtom_clock_nsec = wtm->tv_nsec; |
887 | vdso_data->stamp_xtime = *wall_time; | 887 | vdso_data->stamp_xtime = *wall_time; |
888 | smp_wmb(); | 888 | smp_wmb(); |
889 | ++(vdso_data->tb_update_count); | 889 | ++(vdso_data->tb_update_count); |