riscv: Clear SUM in SSTATUS for supervisor mode exceptions.
authorjsg <jsg@openbsd.org>
Wed, 5 May 2021 01:24:57 +0000 (01:24 +0000)
committerjsg <jsg@openbsd.org>
Wed, 5 May 2021 01:24:57 +0000 (01:24 +0000)
commit4f1e26187e39b39f020e52e9d5a75e95ac937cc8
treee5bc1cce233754077fb24d71b8a1390b4f183c49
parent3356529948a21cdb5d7ebee259b388465015139c
riscv: Clear SUM in SSTATUS for supervisor mode exceptions.

From John Baldwin
753bcca440a4d2c95f48536b586131b84c0bb87e in FreeBSD

ok kettenis@ mlarkin@
sys/arch/riscv64/riscv64/exception.S