Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6967
b: refs/heads/master
c: 4116c52
h: refs/heads/master
i:
  6965: e284360
  6963: a9c3027
  6959: 30ac451
v: v3
  • Loading branch information
Venkatesh Pallipadi authored and Linus Torvalds committed Sep 5, 2005
1 parent 99ea995 commit 74f2008
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 869f96a00e8f53c7db8470ca9cf72e2e3fa40119
refs/heads/master: 4116c527ea9517623369a5b3b037aedde280d672
5 changes: 4 additions & 1 deletion trunk/arch/i386/kernel/timers/timer_hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ static void delay_hpet(unsigned long loops)
} while ((hpet_end - hpet_start) < (loops));
}

static struct timer_opts timer_hpet;

static int __init init_hpet(char* override)
{
unsigned long result, remain;
Expand Down Expand Up @@ -163,6 +165,8 @@ static int __init init_hpet(char* override)
}
set_cyc2ns_scale(cpu_khz/1000);
}
/* set this only when cpu_has_tsc */
timer_hpet.read_timer = read_timer_tsc;
}

/*
Expand All @@ -186,7 +190,6 @@ static struct timer_opts timer_hpet __read_mostly = {
.get_offset = get_offset_hpet,
.monotonic_clock = monotonic_clock_hpet,
.delay = delay_hpet,
.read_timer = read_timer_tsc,
};

struct init_timer_opts __initdata timer_hpet_init = {
Expand Down

0 comments on commit 74f2008

Please sign in to comment.