]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arch/Kconfig: Drop references to powerpc PAGE_SIZE symbols
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 May 2022 12:51:23 +0000 (22:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:58:28 +0000 (15:58 +1000)
In the previous commit powerpc added PAGE_SIZE related config symbols
using the generic names.

So there's no need to refer to them in the definition of
PAGE_SIZE_LESS_THAN_64KB etc, the negative dependency on the generic
symbol is sufficient (in this case !PAGE_SIZE_64KB).

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220505125123.2088143-2-mpe@ellerman.id.au
arch/Kconfig

index 31c4fdc4a4baaa7ad84063c98c30e01d77de349b..d235c9089d175ae21580d0675fff762361888107 100644 (file)
@@ -1007,12 +1007,10 @@ config PAGE_SIZE_LESS_THAN_64KB
        depends on !IA64_PAGE_SIZE_64KB
        depends on !PAGE_SIZE_64KB
        depends on !PARISC_PAGE_SIZE_64KB
-       depends on !PPC_64K_PAGES
        depends on PAGE_SIZE_LESS_THAN_256KB
 
 config PAGE_SIZE_LESS_THAN_256KB
        def_bool y
-       depends on !PPC_256K_PAGES
        depends on !PAGE_SIZE_256KB
 
 # This allows to use a set of generic functions to determine mmap base