summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/locore.S
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-03-07 22:27:06 +0000
committermarcel <marcel@FreeBSD.org>2008-03-07 22:27:06 +0000
commit37503bed38aa9304c3b657c2bf893df779fd13ed (patch)
tree9f48ed3f05e5d512df0ddf1e6bef225e75ecc82d /sys/powerpc/aim/locore.S
parentdf20e1735314eed9a226f7e24d8dc9de19712a24 (diff)
downloadFreeBSD-src-37503bed38aa9304c3b657c2bf893df779fd13ed.zip
FreeBSD-src-37503bed38aa9304c3b657c2bf893df779fd13ed.tar.gz
For AIM, have cpu_idle() set MSR_POW when the powerpc_pow_enabled
variable is set. On my Mac Mini this puts the CPU in NAP mode when the kernel is idle and, any technical or environmental reasons aside, avoids that I have to listen to the fan all day :-)
Diffstat (limited to 'sys/powerpc/aim/locore.S')
-rw-r--r--sys/powerpc/aim/locore.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/powerpc/aim/locore.S b/sys/powerpc/aim/locore.S
index e566e4d..ab6aade 100644
--- a/sys/powerpc/aim/locore.S
+++ b/sys/powerpc/aim/locore.S
@@ -89,9 +89,6 @@ GLOBAL(esym)
GLOBAL(ofmsr)
.long 0, 0, 0, 0, 0 /* msr/sprg0-3 used in Open Firmware */
-GLOBAL(powersave)
- .long 0
-
#define INTSTK 16384 /* 16K interrupt stack */
#define INTRCNT_COUNT 256 /* max(HROWPIC_IRQMAX,OPENPIC_IRQMAX) */
GLOBAL(intrnames)
OpenPOWER on IntegriCloud