diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-12-13 23:33:26 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-12-13 23:33:26 +0000 |
commit | 4e4ea38f45b2a8cab96a6d5f5b0c4687044595ae (patch) | |
tree | 5ff80b4313fbc72c0a2bdd413226422972fd1b79 /sys/arch | |
parent | a5799405c9bf8ccae5370bf8b95347b55d92ee5d (diff) |
print lapic clock in mhz (instead of hz)
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/lapic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/lapic.c b/sys/arch/amd64/amd64/lapic.c index c2d19b38054..664593722ab 100644 --- a/sys/arch/amd64/amd64/lapic.c +++ b/sys/arch/amd64/amd64/lapic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lapic.c,v 1.3 2004/06/28 01:52:24 deraadt Exp $ */ +/* $OpenBSD: lapic.c,v 1.4 2005/12/13 23:33:25 mickey Exp $ */ /* $NetBSD: lapic.c,v 1.2 2003/05/08 01:04:35 fvdl Exp $ */ /*- @@ -321,7 +321,8 @@ lapic_calibrate_timer(ci) lapic_per_second = tmp; - printf("%s: apic clock running at %lldHz\n", ci->ci_dev->dv_xname, tmp); + printf("%s: apic clock running at %lldMHz\n", + ci->ci_dev->dv_xname, tmp / (1000 * 1000)); if (lapic_per_second != 0) { /* |