diff options
author | jdike <jdike> | 2003-12-19 20:43:54 +0000 |
---|---|---|
committer | jdike <jdike> | 2003-12-19 20:43:54 +0000 |
commit | 9a895bca07ad47e02cb383f0597bb911cda77199 (patch) | |
tree | 325f18c467439b38150354ab8b808c47b576bff0 | |
parent | f0a3e1d6e3aaadb8ba90bf44f3b88ad07c81f834 (diff) | |
download | uml-history-9a895bca07ad47e02cb383f0597bb911cda77199.tar.gz |
Made host_hz 64 bits.
-rw-r--r-- | arch/um/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/um/kernel/time_kern.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/kernel/time.c b/arch/um/kernel/time.c index 7a6f766..b2bd3f1 100644 --- a/arch/um/kernel/time.c +++ b/arch/um/kernel/time.c @@ -79,7 +79,7 @@ void idle_timer(void) set_interval(ITIMER_REAL); } -static long get_host_hz(void) +static unsigned long long get_host_hz(void) { char mhzline[16], *end; int ret, mult, mhz, rest, len; @@ -112,7 +112,7 @@ static long get_host_hz(void) return(1000000 * mhz + rest); } -int host_hz = 0; +unsigned long long host_hz = 0; void time_init(void) { diff --git a/arch/um/kernel/time_kern.c b/arch/um/kernel/time_kern.c index 8570a03..bfc7a36 100644 --- a/arch/um/kernel/time_kern.c +++ b/arch/um/kernel/time_kern.c @@ -39,7 +39,7 @@ static int first_tick; static unsigned long long prev_tsc; static long long delta; /* Deviation per interval */ -extern int host_hz; +extern unsigned long long host_hz; void timer_irq(union uml_pt_regs *regs) { |