Christophe Leroy 6c84f8c5cb 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>
2019-04-20 22:02:11 +10:00
..
2019-03-10 17:48:21 -07:00
2019-03-16 10:45:17 -07:00
2018-08-17 11:32:50 -07:00
2019-04-20 21:59:57 +10:00
2019-03-07 12:56:26 -08:00
2018-08-17 11:32:50 -07:00
2019-03-10 11:54:48 -07:00