OSDN Git Service

powerpc/mm: define get_slice_psize() all the time
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 25 Apr 2019 14:29:35 +0000 (14:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:23 +0000 (01:20 +1000)
commit43ed7909d70a61c621cadb5d808dc392ad537e5a
treeecac84464264ea089a5da5d94a5ebdf1fa3accf7
parent33f128c64919736164e70eb024da3ae5e5768cd6
powerpc/mm: define get_slice_psize() all the time

get_slice_psize() can be defined regardless of CONFIG_PPC_MM_SLICES
to avoid ifdefs

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/include/asm/slice.h
arch/powerpc/mm/hugetlbpage.c