aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2015-04-14 18:46:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-14 19:49:02 -0400
commit909d45e62801ea77422d478519baa7d2287c77f7 (patch)
tree26a8cc740f047c9770ae0eb5f544064bd63d07db /arch/tile
parent81a2936c1a98dd007c510dc523c5bbdce263878b (diff)
tile: expose number of page table levels
We would want to use number of page table level to define mm_struct. Let's expose it as CONFIG_PGTABLE_LEVELS. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Chris Metcalf <cmetcalf@ezchip.com> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index 7cca41842a9e..0142d578b5a8 100644
--- a/arch/tile/Kconfig
+++ b/arch/tile/Kconfig
@@ -147,6 +147,11 @@ config ARCH_DEFCONFIG
147 default "arch/tile/configs/tilepro_defconfig" if !TILEGX 147 default "arch/tile/configs/tilepro_defconfig" if !TILEGX
148 default "arch/tile/configs/tilegx_defconfig" if TILEGX 148 default "arch/tile/configs/tilegx_defconfig" if TILEGX
149 149
150config PGTABLE_LEVELS
151 int
152 default 3 if 64BIT
153 default 2
154
150source "init/Kconfig" 155source "init/Kconfig"
151 156
152source "kernel/Kconfig.freezer" 157source "kernel/Kconfig.freezer"