riscv: hang on unhandled exceptions
authorLukas Auer <[email protected]>
Thu, 22 Nov 2018 10:26:22 +0000 (11:26 +0100)
committerAndes <[email protected]>
Mon, 26 Nov 2018 05:57:30 +0000 (13:57 +0800)
commitc93a1c8185e64b9571df9f7fe2c33f26cd3c41d7
treea32e1b5dd3e7e4a02cb1353bd80bad36093d0651
parente8b522b1df8b5874e08b53f6e5aef8a2c458446b
riscv: hang on unhandled exceptions

Hang on unhandled exceptions to prevent execution in a faulty state.

Signed-off-by: Lukas Auer <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
arch/riscv/lib/interrupts.c