]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/mm: remove a couple of #ifdef CONFIG_PPC_64K_PAGES in mm/slice.c
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 25 Apr 2019 14:29:33 +0000 (14:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:23 +0000 (01:20 +1000)
commit203a1fa6286671900698485ddffbb435901aa75b
treeca1bbe2b2b26df385bcef1448bbfce1efb6a6de6
parentb4baad0b2712471740c58a1bc9578ab057af7514
powerpc/mm: remove a couple of #ifdef CONFIG_PPC_64K_PAGES in mm/slice.c

This patch replaces a couple of #ifdef CONFIG_PPC_64K_PAGES
by IS_ENABLED(CONFIG_PPC_64K_PAGES) to improve code maintainability.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/slice.c