]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: replace most #ifdef by IS_ENABLED() in 8xx_mmu.c
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 13 Feb 2019 16:06:19 +0000 (16:06 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 10:04:31 +0000 (21:04 +1100)
commitce3c3c80ad674fe35620ddbd71ee3b01f8ce2758
tree241758aaa7ff84dc18adb320fd82eb334be41de8
parent13974929a5c25cc8fa8e94d0151e4312a015848b
powerpc/8xx: replace most #ifdef by IS_ENABLED() in 8xx_mmu.c

This patch replaces most #ifdef mess by IS_ENABLED() in 8xx_mmu.c
This has the advantage of allowing syntax verification at compile
time regardless of selected options.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/8xx_mmu.c