diff options
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 1b8e97331ffb..3f2fba996bc2 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
@@ -143,6 +143,13 @@ config KERNEL_MODE_NEON | |||
143 | config FIX_EARLYCON_MEM | 143 | config FIX_EARLYCON_MEM |
144 | def_bool y | 144 | def_bool y |
145 | 145 | ||
146 | config PGTABLE_LEVELS | ||
147 | int | ||
148 | default 2 if ARM64_64K_PAGES && ARM64_VA_BITS_42 | ||
149 | default 3 if ARM64_64K_PAGES && ARM64_VA_BITS_48 | ||
150 | default 3 if ARM64_4K_PAGES && ARM64_VA_BITS_39 | ||
151 | default 4 if ARM64_4K_PAGES && ARM64_VA_BITS_48 | ||
152 | |||
146 | source "init/Kconfig" | 153 | source "init/Kconfig" |
147 | 154 | ||
148 | source "kernel/Kconfig.freezer" | 155 | source "kernel/Kconfig.freezer" |
@@ -413,13 +420,6 @@ config ARM64_VA_BITS | |||
413 | default 42 if ARM64_VA_BITS_42 | 420 | default 42 if ARM64_VA_BITS_42 |
414 | default 48 if ARM64_VA_BITS_48 | 421 | default 48 if ARM64_VA_BITS_48 |
415 | 422 | ||
416 | config ARM64_PGTABLE_LEVELS | ||
417 | int | ||
418 | default 2 if ARM64_64K_PAGES && ARM64_VA_BITS_42 | ||
419 | default 3 if ARM64_64K_PAGES && ARM64_VA_BITS_48 | ||
420 | default 3 if ARM64_4K_PAGES && ARM64_VA_BITS_39 | ||
421 | default 4 if ARM64_4K_PAGES && ARM64_VA_BITS_48 | ||
422 | |||
423 | config CPU_BIG_ENDIAN | 423 | config CPU_BIG_ENDIAN |
424 | bool "Build big-endian kernel" | 424 | bool "Build big-endian kernel" |
425 | help | 425 | help |