Make sure kernel longjmp always returns 1 rather than what turns out to be
authormiod <miod@openbsd.org>
Tue, 22 Mar 2022 06:51:12 +0000 (06:51 +0000)
committermiod <miod@openbsd.org>
Tue, 22 Mar 2022 06:51:12 +0000 (06:51 +0000)
commit931ed8ef5ec8a88619b61240e05ecb66d992fb89
tree1686a18e4a7259fc7fa6072f72dd58b2bd2dbf86
parent8bf257ed34ec18530dce4a085385fd77dfd49c9a
Make sure kernel longjmp always returns 1 rather than what turns out to be
in a register at call-time.
with & ok jsg@
sys/arch/powerpc64/powerpc64/locore.S
sys/arch/riscv64/riscv64/support.S