diff options
author | Vincent Chen | 2019-03-05 11:23:33 +0800 |
---|---|---|
committer | Palmer Dabbelt | 2019-05-16 20:42:12 -0700 |
commit | d18ebc274ca78f61094fba39ec9f206d46be5a85 (patch) | |
tree | e965c8d0b50b578f972528461223eec442e7f299 /mm/kasan/kasan.h | |
parent | a21344dfc6adb78c291a48906478e76e1de08f6d (diff) |
riscv: support trap-based WARN()
The WARN() related function will trigger a debug exception. This can help
developers to analyze the cause of WARN() because if the debugger is
connected, the control flow will be transferred to debugging
environment.
Signed-off-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'mm/kasan/kasan.h')
0 files changed, 0 insertions, 0 deletions