diff options
author | 2009-12-29 16:37:10 +0000 | |
---|---|---|
committer | 2009-12-29 16:37:10 +0000 | |
commit | 538500390d1996b2c5399fe6f6809dbf1dce04ae (patch) | |
tree | 175182730bc90dcb576d750500f7395687502ba1 | |
parent | add missing paragraph break (.Pp) macro. (diff) | |
download | wireguard-openbsd-538500390d1996b2c5399fe6f6809dbf1dce04ae.tar.xz wireguard-openbsd-538500390d1996b2c5399fe6f6809dbf1dce04ae.zip |
Call proc_trampoline_mp() from the process trampoline when compiled for MP.
ok kettenis@
-rw-r--r-- | sys/arch/hppa/hppa/locore.S | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S index 13140a399f7..183f5863d8a 100644 --- a/sys/arch/hppa/hppa/locore.S +++ b/sys/arch/hppa/hppa/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.162 2009/07/29 20:00:47 kettenis Exp $ */ +/* $OpenBSD: locore.S,v 1.163 2009/12/29 16:37:10 jsing Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -2898,6 +2898,14 @@ LEAF_ENTRY(cpu_idle_leave) EXIT(cpu_idle_leave) ENTRY(switch_trampoline,0) +#ifdef MULTIPROCESSOR + copy t4, r3 + copy arg0, r4 + bl proc_trampoline_mp, rp + nop + copy r4, arg0 + copy r3, t4 +#endif ldil L%cpl, t1 stw r0, R%cpl(t1) .call |