summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-06-02 01:07:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-06-02 01:07:26 +0000
commit84723af0699736a146cba170306849d55b0a4700 (patch)
treeb9e1cbadf79947cb76d9e660b2ed05a68c3d7d75 /sys/arch
parent694536001602e2da4368f5d517b6e197579d2791 (diff)
The I-cache seems to work fine on the UltraSPARC III, so never disable it,
even if HORRID_III_HACK is defined. ok jason@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index e8840660791..bd3e247f19a 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.57 2006/05/31 06:51:25 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.58 2006/06/02 01:07:25 kettenis Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -4103,9 +4103,6 @@ dostart:
*/
ldxa [%g0] ASI_MCCR, %o1
andn %o1, MCCR_DCACHE_EN, %o1
-#ifdef HORRID_III_HACK
- andn %o1, MCCR_ICACHE_EN, %o1 ! and Icache...
-#endif /* HORRID_III_HACK */
stxa %o1, [%g0] ASI_MCCR
membar #Sync
#endif /* 0 */
@@ -4160,9 +4157,6 @@ _C_LABEL(cpu_initialize):
!! Turn off D$ in LSU
ldxa [%g0] ASI_LSU_CONTROL_REGISTER, %g1
bclr MCCR_DCACHE_EN, %g1
-#ifdef HORRID_III_HACK
- andn %o1, MCCR_ICACHE_EN, %o1 ! and Icache...
-#endif /* HORRID_III_HACK */
stxa %g1, [%g0] ASI_LSU_CONTROL_REGISTER
membar #Sync
#endif /* NO_VCACHE */