Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / arch / arm64 / kernel / vdso.c
index 24f2e8c..a81a446 100644 (file)
@@ -219,7 +219,7 @@ struct vm_area_struct *get_gate_vma(struct mm_struct *mm)
 void update_vsyscall(struct timekeeper *tk)
 {
        struct timespec xtime_coarse;
-       u32 use_syscall = strcmp(tk->clock->name, "arch_sys_counter");
+       u32 use_syscall = strcmp(tk->tkr.clock->name, "arch_sys_counter");
 
        ++vdso_data->tb_seq_count;
        smp_wmb();
@@ -232,11 +232,11 @@ void update_vsyscall(struct timekeeper *tk)
        vdso_data->wtm_clock_nsec               = tk->wall_to_monotonic.tv_nsec;
 
        if (!use_syscall) {
-               vdso_data->cs_cycle_last        = tk->clock->cycle_last;
+               vdso_data->cs_cycle_last        = tk->tkr.cycle_last;
                vdso_data->xtime_clock_sec      = tk->xtime_sec;
-               vdso_data->xtime_clock_nsec     = tk->xtime_nsec;
-               vdso_data->cs_mult              = tk->mult;
-               vdso_data->cs_shift             = tk->shift;
+               vdso_data->xtime_clock_nsec     = tk->tkr.xtime_nsec;
+               vdso_data->cs_mult              = tk->tkr.mult;
+               vdso_data->cs_shift             = tk->tkr.shift;
        }
 
        smp_wmb();