summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-03-13 20:37:47 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-03-13 20:37:47 +0000
commit0b213e60440b7473a8e82be82f3b92a6bc8c03b1 (patch)
tree4d9c79bab9d1287dd7d77e91ff8b6cfa7e449702 /sys
parentafc3a1f8cc136b5c2bb3cab1a62e18b21e787951 (diff)
Remove code to set mmu context to 0. It should already be set to 0 at that
point; this code is probably a leftover from some code that tried to find out the number of available context dynamically. tested by ckuethe@, jsg@, sthen@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index 3def21464c6..dfc47770ecc 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.112 2008/03/12 20:52:36 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.113 2008/03/13 20:37:46 kettenis Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -3980,10 +3980,7 @@ dostart:
* Ready to run C code; finish bootstrap.
*/
1:
- set CTX_SECONDARY, %o1 ! Store -1 in the context register
- set 0x2000,%o0 ! fixed: 8192 contexts
- stxa %g0, [%o1] ASI_DMMU
- membar #Sync
+ set 0x2000, %o0 ! fixed: 8192 contexts
call _C_LABEL(bootstrap)
clr %g4 ! Clear data segment pointer