Use intr_enable()/int_disable()/intr_restore() instead of
authorkettenis <kettenis@openbsd.org>
Sat, 15 May 2021 11:30:27 +0000 (11:30 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 15 May 2021 11:30:27 +0000 (11:30 +0000)
commitdaf2e6cce5c20aa5eaf117a28077ca2f99fd169c
tree614be6e0770159781b63e45130cc0a302c4d80f2
parenta1c674a46fd090d5572fc608874eab0f3ffa05fa
Use intr_enable()/int_disable()/intr_restore() instead of
enable_interrupts()/disable_interrupts()/restore_interrupts() and remove
the latter interfaces.

While there move a few malloc(9) and free(9) calls to run with interrupts
enabled.

ok patrick@
sys/arch/arm64/arm64/intr.c
sys/arch/arm64/arm64/syscall.c
sys/arch/arm64/arm64/trap.c
sys/arch/arm64/arm64/vfp.c
sys/arch/arm64/dev/agintc.c
sys/arch/arm64/dev/ampintc.c
sys/arch/arm64/dev/bcm2836_intr.c
sys/arch/arm64/dev/efi.c
sys/arch/arm64/include/cpu.h