diff options
author | 2021-03-30 06:56:26 -0700 | |
---|---|---|
committer | 2021-04-26 08:25:18 -0700 | |
commit | e75e6bf47a4723ce16f65c7387c20a8c18a1c13b (patch) | |
tree | e65cc09e56b4ad55035e9d9b37639ffb84523873 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe (diff) | |
download | wireguard-linux-e75e6bf47a4723ce16f65c7387c20a8c18a1c13b.tar.xz wireguard-linux-e75e6bf47a4723ce16f65c7387c20a8c18a1c13b.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions