[PATCH 5.3 055/163] riscv: avoid sending a SIGTRAP to a user thread trapped in WARN()