summaryrefslogtreecommitdiffstats
path: root/drivers/clk/socfpga/clk-gate.c
diff options
context:
space:
mode:
authorzhouchuangao <zhouchuangao@vivo.com>2021-04-24 17:59:50 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-04-26 10:23:52 +0200
commit7e9be673cb1b0be0f4279a960c2ecb28a147c327 (patch)
tree1db952de1a126cc73d5f4bec00a705292b5c187f /drivers/clk/socfpga/clk-gate.c
parentMIPS: select ARCH_KEEP_MEMBLOCK unconditionally (diff)
downloadlinux-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 'drivers/clk/socfpga/clk-gate.c')
0 files changed, 0 insertions, 0 deletions