Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15091
b: refs/heads/master
c: 68e1889
h: refs/heads/master
i:
  15089: a1e7e1e
  15087: b305b3e
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Dec 13, 2005
1 parent ed44b68 commit dcd9490
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cd082f0147c5fc94b455bcc17fe21b22dbac703
refs/heads/master: 68e188911263adb06e28fa2c9dc9e017774de68d
4 changes: 3 additions & 1 deletion trunk/arch/x86_64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static int notsc __initdata = 0;
unsigned int cpu_khz; /* TSC clocks / usec, not used here */
static unsigned long hpet_period; /* fsecs / HPET clock */
unsigned long hpet_tick; /* HPET clocks / interrupt */
static int hpet_use_timer;
static int hpet_use_timer; /* Use counter of hpet for time keeping, otherwise PIT */
unsigned long vxtime_hz = PIT_TICK_RATE;
int report_lost_ticks; /* command line option */
unsigned long long monotonic_base;
Expand Down Expand Up @@ -908,6 +908,8 @@ void __init time_init(void)
if (!hpet_init())
vxtime_hz = (1000000000000000L + hpet_period / 2) /
hpet_period;
else
vxtime.hpet_address = 0;

if (hpet_use_timer) {
cpu_khz = hpet_calibrate_tsc();
Expand Down

0 comments on commit dcd9490

Please sign in to comment.