diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2001-08-01 20:35:42 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2001-08-01 20:35:42 +0000 |
| commit | d82784053e2be0881915ce6637e3c596368b48e3 (patch) | |
| tree | c434eade945086e173cad43b7e3b8ca02e79b30e | |
| parent | aa7a4dae6dac90cc7142de2483bd99638a60f1ae (diff) | |
Notes
| -rw-r--r-- | sys/alpha/alpha/clock.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/alpha/alpha/clock.c b/sys/alpha/alpha/clock.c index 0c209c7c6b40..6cba0997f196 100644 --- a/sys/alpha/alpha/clock.c +++ b/sys/alpha/alpha/clock.c @@ -228,7 +228,6 @@ out: void cpu_initclocks() { - static int once = 1; u_int32_t freq; if (clockdev == NULL) @@ -270,8 +269,7 @@ cpu_initclocks() tc_init(&i8254_timecounter); } - if (once) { - once = 0; + if (ncpus == 1) { alpha_timecounter.tc_frequency = freq; tc_init(&alpha_timecounter); } |
