]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: make highpte an expert option
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Jun 2015 09:44:08 +0000 (10:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 3 Oct 2015 15:47:09 +0000 (16:47 +0100)
When highmem is enabled, there's little reason not to also enable
highpte support as well.  Rather than leaving this to chance, make
it an expert option, and default it to be enabled if highmem is
enabled.  Add some help text to the option while we're here.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig

index 0e740686efd32c714dd6747286d062f46f45b86f..5f4858011bff45ced518b88fa942e252f36ec584 100644 (file)
@@ -1697,8 +1697,9 @@ config HIGHMEM
          If unsure, say n.
 
 config HIGHPTE
-       bool "Allocate 2nd-level pagetables from highmem"
+       bool "Allocate 2nd-level pagetables from highmem" if EXPERT
        depends on HIGHMEM
+       default y
        help
          The VM uses one page of physical memory for each page table.
          For systems with a lot of processes, this can use a lot of