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)
commit665bed2386e5dc29844ad78c7ef1464664b103ec
tree241758aaa7ff84dc18adb320fd82eb334be41de8
parent78a8da0600940d679bb727cea7e153685e211723
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