x86-64: Clean up vdso/kernel shared variables
[pandora-kernel.git] / arch / x86 / kernel / tsc.c
index 9335bf7..db697b8 100644 (file)
@@ -777,8 +777,8 @@ static cycle_t __vsyscall_fn vread_tsc(void)
        ret = (cycle_t)vget_cycles();
        rdtsc_barrier();
 
-       return ret >= __vsyscall_gtod_data.clock.cycle_last ?
-               ret : __vsyscall_gtod_data.clock.cycle_last;
+       return ret >= VVAR(vsyscall_gtod_data).clock.cycle_last ?
+               ret : VVAR(vsyscall_gtod_data).clock.cycle_last;
 }
 #endif