diff options
author | marcel <marcel@FreeBSD.org> | 2011-06-07 01:06:49 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-06-07 01:06:49 +0000 |
commit | 2bf7ed6fc0e8d175dd13da2f68d538ee3facb919 (patch) | |
tree | 35a2c60d126df166d237de0c07f0f113ce080458 /sys/ia64 | |
parent | 9a4ce80d984022d858758d706b82b9ee8f31455d (diff) | |
download | FreeBSD-src-2bf7ed6fc0e8d175dd13da2f68d538ee3facb919.zip FreeBSD-src-2bf7ed6fc0e8d175dd13da2f68d538ee3facb919.tar.gz |
Call set_cputicker() to have the time counter use the ITC register.
Note that the ITC frequency is fixed.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index fc7df7a..1463fb5 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -786,6 +786,8 @@ ia64_init(void) ia64_sal_init(); calculate_frequencies(); + set_cputicker(ia64_get_itc, (u_long)itc_freq * 1000000, 0); + /* * Setup the PCPU data for the bootstrap processor. It is needed * by printf(). Also, since printf() has critical sections, we |