Skip to content

Commit 0495408

Browse files
rpptakpm00
authored andcommitted
sh: drop ranges for definition of ARCH_FORCE_MAX_ORDER
sh defines insane ranges for ARCH_FORCE_MAX_ORDER allowing MAX_ORDER up to 63, which implies maximal contiguous allocation size of 2^63 pages. Drop bogus definitions of ranges for ARCH_FORCE_MAX_ORDER and leave it a simple integer with sensible defaults. Users that *really* need to change the value of ARCH_FORCE_MAX_ORDER will be able to do so but they won't be mislead by the bogus ranges. [[email protected]: untweak ARCH_FORCE_MAX_ORDER's `range'] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport (IBM) <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Reviewed-by: Zi Yan <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: David Miller <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Guo Ren <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Cc: Max Filippov <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Rich Felker <[email protected]> Cc: "Russell King (Oracle)" <[email protected]> Cc: Will Deacon <[email protected]> Cc: Yoshinori Sato <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent b2a37fb commit 0495408

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/sh/mm/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ config PAGE_OFFSET
2020

2121
config ARCH_FORCE_MAX_ORDER
2222
int "Order of maximal physically contiguous allocations"
23-
range 8 63 if PAGE_SIZE_16KB
2423
default "8" if PAGE_SIZE_16KB
25-
range 6 63 if PAGE_SIZE_64KB
2624
default "6" if PAGE_SIZE_64KB
27-
range 10 63
2825
default "13" if !MMU
2926
default "10"
3027
help

0 commit comments

Comments
 (0)