diff options
author | zhouchuangao <zhouchuangao@vivo.com> | 2021-04-24 17:59:50 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-04-26 10:23:52 +0200 |
commit | 7e9be673cb1b0be0f4279a960c2ecb28a147c327 (patch) | |
tree | 1db952de1a126cc73d5f4bec00a705292b5c187f /kernel/sched/stats.h | |
parent | MIPS: select ARCH_KEEP_MEMBLOCK unconditionally (diff) | |
download | linux-7e9be673cb1b0be0f4279a960c2ecb28a147c327.tar.xz linux-7e9be673cb1b0be0f4279a960c2ecb28a147c327.zip |
MIPS: BCM63XX: Use BUG_ON instead of condition followed by BUG.
BUG_ON uses unlikely in if(), it can be optimized at compile time.
Usually, the condition in if() is not satisfied. In my opinion,
this can improve the efficiency of the multi-stage pipeline.
Signed-off-by: zhouchuangao <zhouchuangao@vivo.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'kernel/sched/stats.h')
0 files changed, 0 insertions, 0 deletions