]> 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)
commita47ae944d417a328bfe9900b9736977319a0785a
tree241758aaa7ff84dc18adb320fd82eb334be41de8
parent806cb6ac7af512def3b8b89671c191eb6b932003
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