summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2007-11-09 16:15:28 +0000
committerkettenis <kettenis@openbsd.org>2007-11-09 16:15:28 +0000
commit9405e95f5b5227738d071a2d326a00a5c324c8d0 (patch)
tree704d2e7b54952fa16440430e8c02bd22c66bd05e
parentUse the interrupt stack as the initial stack for spinning up secondary CPUs. (diff)
downloadwireguard-openbsd-9405e95f5b5227738d071a2d326a00a5c324c8d0.tar.xz
wireguard-openbsd-9405e95f5b5227738d071a2d326a00a5c324c8d0.zip
Call prom_set_trap_table for secondary CPUs too.
-rw-r--r--sys/arch/sparc64/sparc64/locore.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index 81b4aca127c..16bf74b22ff 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.101 2007/11/06 22:20:59 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.102 2007/11/09 16:15:28 kettenis Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -4936,8 +4936,8 @@ dlflush2a:
/* Change the trap base register */
set _C_LABEL(trapbase), %l1
- !call _C_LABEL(prom_set_trap_table) ! Now we should be running 100% from our handlers
- ! mov %l1, %o0
+ call _C_LABEL(prom_set_trap_table) ! Now we should be running 100% from our handlers
+ mov %l1, %o0
wrpr %l1, 0, %tba ! Make sure the PROM didn't foul up.
wrpr %g0, WSTATE_KERN, %wstate