diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-11-09 16:15:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-11-09 16:15:29 +0000 |
commit | 66e22c323af58bdb1c23fd04707acdc8641058d2 (patch) | |
tree | 9761b57f89a282d2d2d7d5875a1d10d09e1224d7 /sys | |
parent | e6bdb94afec0ee4f2fb8671126daa49b5df6eb3b (diff) |
Call prom_set_trap_table for secondary CPUs too.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/locore.s | 6 |
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 |