[PATCH] x86-64: Remove unused vxtime.hz field
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
a0d58c9741
commit
a2a0c992e9
@@ -937,7 +937,6 @@ void __init time_init(void)
|
|||||||
vxtime.mode = VXTIME_TSC;
|
vxtime.mode = VXTIME_TSC;
|
||||||
vxtime.quot = (1000000L << 32) / vxtime_hz;
|
vxtime.quot = (1000000L << 32) / vxtime_hz;
|
||||||
vxtime.tsc_quot = (1000L << 32) / cpu_khz;
|
vxtime.tsc_quot = (1000L << 32) / cpu_khz;
|
||||||
vxtime.hz = vxtime_hz;
|
|
||||||
rdtscll_sync(&vxtime.last_tsc);
|
rdtscll_sync(&vxtime.last_tsc);
|
||||||
setup_irq(0, &irq0);
|
setup_irq(0, &irq0);
|
||||||
|
|
||||||
|
@@ -29,7 +29,6 @@ enum vsyscall_num {
|
|||||||
|
|
||||||
struct vxtime_data {
|
struct vxtime_data {
|
||||||
long hpet_address; /* HPET base address */
|
long hpet_address; /* HPET base address */
|
||||||
unsigned long hz; /* HPET clocks / sec */
|
|
||||||
int last;
|
int last;
|
||||||
unsigned long last_tsc;
|
unsigned long last_tsc;
|
||||||
long quot;
|
long quot;
|
||||||
|
Reference in New Issue
Block a user