summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/machdep.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2009-10-23 21:36:33 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2009-10-23 21:36:33 +0000
commit1ba71fb08ad22f428607570e70cf79648502f2a7 (patch)
tree37a44dc8805ef797b21f0ef1529a050af0ed6780 /sys/powerpc/aim/machdep.c
parented25b398103473db0271f27026338e782a033374 (diff)
downloadFreeBSD-src-1ba71fb08ad22f428607570e70cf79648502f2a7.zip
FreeBSD-src-1ba71fb08ad22f428607570e70cf79648502f2a7.tar.gz
Add some more paranoia to setting HID registers, and update the AIM
clock routines to work better with SMP. This makes SMP work fully and stably on an Xserve G5. Obtained from: Book-E (clock bits)
Diffstat (limited to 'sys/powerpc/aim/machdep.c')
-rw-r--r--sys/powerpc/aim/machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index 339e64a..da73dfa 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -885,6 +885,8 @@ cpu_initclocks(void)
{
decr_tc_init();
+ stathz = hz;
+ profhz = hz;
}
/*
OpenPOWER on IntegriCloud