diff options
author | zhouchuangao <[email protected]> | 2021-03-30 06:56:26 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-04-26 08:25:18 -0700 |
commit | e75e6bf47a4723ce16f65c7387c20a8c18a1c13b (patch) | |
tree | e65cc09e56b4ad55035e9d9b37639ffb84523873 /lib/test_overflow.c | |
parent | b1ebaa0e1318494a7637099a26add50509e37964 (diff) |
riscv/mm: Use BUG_ON instead of if condition followed by BUG.
BUG_ON() uses unlikely in if(), which can be optimized at compile time.
Signed-off-by: zhouchuangao <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions