artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab4942
)
Fix assembly in #ifdef MULTIPROCESSOR case.
author
kettenis
<kettenis@openbsd.org>
Mon, 28 Jun 2021 18:38:17 +0000
(18:38 +0000)
committer
kettenis
<kettenis@openbsd.org>
Mon, 28 Jun 2021 18:38:17 +0000
(18:38 +0000)
ok jsing@
sys/arch/riscv64/riscv64/cpuswitch.S
patch
|
blob
|
history
diff --git
a/sys/arch/riscv64/riscv64/cpuswitch.S
b/sys/arch/riscv64/riscv64/cpuswitch.S
index
c396659
..
d5cac6b
100644
(file)
--- a/
sys/arch/riscv64/riscv64/cpuswitch.S
+++ b/
sys/arch/riscv64/riscv64/cpuswitch.S
@@
-1,4
+1,4
@@
-/* $OpenBSD: cpuswitch.S,v 1.
3 2021/05/20 04:22:33 drahn Exp $
*/
+/* $OpenBSD: cpuswitch.S,v 1.
4 2021/06/28 18:38:17 kettenis Exp $
*/
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
@@
-98,8
+98,8
@@
END(cpu_switch_asm)
ENTRY(proc_trampoline)
#ifdef MULTIPROCESSOR
-
t0
_C_LABEL(proc_trampoline_mp)
- j
r
t0
+
la t0,
_C_LABEL(proc_trampoline_mp)
+ j
alr
t0
#endif
// call it or just set the variable?
li a0, IPL_NONE