mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
powerpc/mm: Remove CONFIG_PPC_MM_SLICES
CONFIG_PPC_MM_SLICES is always selected by hash book3s/64. CONFIG_PPC_MM_SLICES is never selected by other platforms. Remove it. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/dc2cdc204de8978574bf7c02329b6cfc4db0bce7.1649523076.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
1408fca0c1
commit
f693d38d94
8 changed files with 5 additions and 36 deletions
|
@ -24,7 +24,7 @@ static inline int is_hugepage_only_range(struct mm_struct *mm,
|
|||
unsigned long addr,
|
||||
unsigned long len)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_PPC_MM_SLICES) && !radix_enabled())
|
||||
if (IS_ENABLED(CONFIG_PPC_64S_HASH_MMU) && !radix_enabled())
|
||||
return slice_is_hugepage_only_range(mm, addr, len);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue