Skip to content

Commit

Permalink
[PATCH] x86-64: Remove unused vxtime.hz field
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Sep 12, 2005
1 parent a0d58c9 commit a2a0c99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/x86_64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion include/asm-x86_64/vsyscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2a0c99

Please sign in to comment.