diff options
-rw-r--r-- | arch/x86_64/kernel/time.c | 1 | ||||
-rw-r--r-- | include/asm-x86_64/vsyscall.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c index 7b6abe058253..6526a19f70ee 100644 --- a/arch/x86_64/kernel/time.c +++ b/arch/x86_64/kernel/time.c | |||
@@ -937,7 +937,6 @@ void __init time_init(void) | |||
937 | vxtime.mode = VXTIME_TSC; | 937 | vxtime.mode = VXTIME_TSC; |
938 | vxtime.quot = (1000000L << 32) / vxtime_hz; | 938 | vxtime.quot = (1000000L << 32) / vxtime_hz; |
939 | vxtime.tsc_quot = (1000L << 32) / cpu_khz; | 939 | vxtime.tsc_quot = (1000L << 32) / cpu_khz; |
940 | vxtime.hz = vxtime_hz; | ||
941 | rdtscll_sync(&vxtime.last_tsc); | 940 | rdtscll_sync(&vxtime.last_tsc); |
942 | setup_irq(0, &irq0); | 941 | setup_irq(0, &irq0); |
943 | 942 | ||
diff --git a/include/asm-x86_64/vsyscall.h b/include/asm-x86_64/vsyscall.h index 2872da23fc7e..438a3f52f839 100644 --- a/include/asm-x86_64/vsyscall.h +++ b/include/asm-x86_64/vsyscall.h | |||
@@ -29,7 +29,6 @@ enum vsyscall_num { | |||
29 | 29 | ||
30 | struct vxtime_data { | 30 | struct vxtime_data { |
31 | long hpet_address; /* HPET base address */ | 31 | long hpet_address; /* HPET base address */ |
32 | unsigned long hz; /* HPET clocks / sec */ | ||
33 | int last; | 32 | int last; |
34 | unsigned long last_tsc; | 33 | unsigned long last_tsc; |
35 | long quot; | 34 | long quot; |