Browse Source

[PATCH] x86-64: Remove unused vxtime.hz field

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andi Kleen 20 năm trước cách đây
mục cha
commit
a2a0c992e9
2 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 1
      arch/x86_64/kernel/time.c
  2. 0 1
      include/asm-x86_64/vsyscall.h

+ 0 - 1
arch/x86_64/kernel/time.c

@@ -937,7 +937,6 @@ void __init time_init(void)
 	vxtime.mode = VXTIME_TSC;
 	vxtime.quot = (1000000L << 32) / vxtime_hz;
 	vxtime.tsc_quot = (1000L << 32) / cpu_khz;
-	vxtime.hz = vxtime_hz;
 	rdtscll_sync(&vxtime.last_tsc);
 	setup_irq(0, &irq0);
 

+ 0 - 1
include/asm-x86_64/vsyscall.h

@@ -29,7 +29,6 @@ enum vsyscall_num {
 
 struct vxtime_data {
 	long hpet_address;	/* HPET base address */
-	unsigned long hz;	/* HPET clocks / sec */
 	int last;
 	unsigned long last_tsc;
 	long quot;