commit | e75e6bf47a4723ce16f65c7387c20a8c18a1c13b | [log] [tgz] |
---|---|---|
author | zhouchuangao <zhouchuangao@vivo.com> | Tue Mar 30 06:56:26 2021 -0700 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Mon Apr 26 08:25:18 2021 -0700 |
tree | e65cc09e56b4ad55035e9d9b37639ffb84523873 | |
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 <zhouchuangao@vivo.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>