Use intr_enable()/int_disable()/intr_restore() instead of
authorkettenis <kettenis@openbsd.org>
Thu, 13 May 2021 19:26:25 +0000 (19:26 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 13 May 2021 19:26:25 +0000 (19:26 +0000)
commit285e3455f19744964261b71b66d9c75f75d20405
tree898b65f85281a9a231511dfe5d605abb3fd42d9c
parentbd38c5f41f536e9f6437eb4d46684b205ab21ee3
Use intr_enable()/int_disable()/intr_restore() instead of
enable_interrupts()/disable_interrupts()/restore_interrupts() and remove
the latter interfaces.

ok mlarkin@, drahn@
sys/arch/riscv64/dev/plic.c
sys/arch/riscv64/dev/riscv_cpu_intc.c
sys/arch/riscv64/include/intr.h
sys/arch/riscv64/riscv64/intr.c
sys/arch/riscv64/riscv64/machdep.c
sys/arch/riscv64/riscv64/pmap.c
sys/arch/riscv64/riscv64/syscall.c