]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xtensa: make MMU-related configuration options depend on MMU
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 16 Jun 2014 04:15:43 +0000 (08:15 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Aug 2014 07:59:09 +0000 (11:59 +0400)
MMUv3 and HIGHMEM support are available only on configurations with MMU,
don't show them otherwise.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig

index 7feca8dfdff2df8262bf058ca159b59ca759fbcd..480a7d5fb1057231c82ffa6162d270b8fc4a50f4 100644 (file)
@@ -197,6 +197,7 @@ config MATH_EMULATION
 
 config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
        bool "Initialize Xtensa MMU inside the Linux kernel code"
+       depends on MMU
        default y
        help
          Earlier version initialized the MMU in the exception vector
@@ -226,6 +227,7 @@ config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
 
 config HIGHMEM
        bool "High Memory Support"
+       depends on MMU
        help
          Linux can use the full amount of RAM in the system by
          default. However, the default MMUv2 setup only maps the