aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/book3s/64/hash-64k.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-03-07 09:47:50 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-04-20 22:02:11 +1000
commit6c84f8c5cbfb4bf728f88296bc035c4a401c3423 (patch)
treea0ca2b1823c35b93b67576b75f670423a8e57ccd /arch/powerpc/include/asm/book3s/64/hash-64k.h
parentpowerpc: Fix defconfig choice logic when cross compiling (diff)
downloadlinux-dev-6c84f8c5cbfb4bf728f88296bc035c4a401c3423.tar.xz
linux-dev-6c84f8c5cbfb4bf728f88296bc035c4a401c3423.zip
powerpc/highmem: Change BUG_ON() to WARN_ON()
In arch/powerpc/mm/highmem.c, BUG_ON() is called only when CONFIG_DEBUG_HIGHMEM is selected, this means the BUG_ON() is not vital and can be replaced by a a WARN_ON(). At the same time, use IS_ENABLED() instead of #ifdef to clean a bit. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/book3s/64/hash-64k.h')
0 files changed, 0 insertions, 0 deletions