Move the userret() call out of data_abort() and simply call it just before we
authorkettenis <kettenis@openbsd.org>
Sat, 29 Apr 2017 17:10:43 +0000 (17:10 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 29 Apr 2017 17:10:43 +0000 (17:10 +0000)
commit9f10c9cf60e8a2781075dcd25061d8a072b05366
treef11a4b3c732f1907422873960823dd79e879bf52
parentcdac8ca009e93dc9d71ec5ac0aa2af73c96e3a5b
Move the userret() call out of data_abort() and simply call it just before we
return from do_el0_sync().  Prevents future mistakes.
sys/arch/arm64/arm64/trap.c