summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-10 15:56:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-10 15:56:21 +0000
commit59368326ffc0c7065d5a14cc83d957a1c0547d3d (patch)
treebbda6bad64996974a700c87cca980e039844b2b4 /sys/arch
parente51062c8cca21a333603b567563e3b84f74ddac0 (diff)
Disable PSL_POW code for now in cpu_idle_cycle, because it does not yet
do the cache flush / instruction cache disable / tlb invalidate dance. For some reason in a switchto world this suddenly matters or machines become really slow running NFS... huh? figured out with kettenis
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/macppc/locore.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/locore.S b/sys/arch/macppc/macppc/locore.S
index b840919182d..e4e471d5354 100644
--- a/sys/arch/macppc/macppc/locore.S
+++ b/sys/arch/macppc/macppc/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.33 2007/10/10 15:53:52 art Exp $ */
+/* $OpenBSD: locore.S,v 1.34 2007/10/10 15:56:20 deraadt Exp $ */
/* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */
/*
@@ -220,11 +220,13 @@ _ENTRY(_C_LABEL(cpu_idle_enter))
blr
_ENTRY(_C_LABEL(cpu_idle_cycle))
+#if 0
/* low power mode */
mfmsr %r3
oris %r3, %r3, PSL_POW@h
mtmsr %r3
isync
+#endif
blr
_ENTRY(_C_LABEL(cpu_idle_leave))