diff options
| author | Michael Brown | 2005-04-08 17:01:17 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-08 17:01:17 +0200 |
| commit | 0ff80b477dcff0726ebdbed95e8a93971e59e82b (patch) | |
| tree | 860b7150212a07c24a9529ea072f3fb12700974c /src/arch/ia64 | |
| parent | Merged this file into HEAD (diff) | |
| download | ipxe-0ff80b477dcff0726ebdbed95e8a93971e59e82b.tar.gz ipxe-0ff80b477dcff0726ebdbed95e8a93971e59e82b.tar.xz ipxe-0ff80b477dcff0726ebdbed95e8a93971e59e82b.zip | |
Merged mcb30-realmode-redesign back to HEAD
Diffstat (limited to 'src/arch/ia64')
| -rw-r--r-- | src/arch/ia64/core/ia64_timer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/ia64/core/ia64_timer.c b/src/arch/ia64/core/ia64_timer.c index 3115714ab..b7f547393 100644 --- a/src/arch/ia64/core/ia64_timer.c +++ b/src/arch/ia64/core/ia64_timer.c @@ -2,6 +2,7 @@ #include "timer.h" #include "sal.h" #include "pal.h" +#include "init.h" static inline unsigned long get_cycles(void) { @@ -39,7 +40,7 @@ static unsigned long calibrate_cycles(void) } static unsigned long clocks_per_tick; -void setup_timers(void) +static void setup_timers(void) { if (!clocks_per_tick) { clocks_per_tick = calibrate_cycles(); @@ -87,3 +88,5 @@ int timer2_running(void) { return __timer_running(); } + +INIT_FN ( INIT_TIMERS, setup_timers, NULL, NULL ); |
