diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-11 17:08:10 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-11 23:07:12 +0300 |
commit | 4d08d20f1c94b2da5847d3f9ba6c93ae5b1520c2 (patch) | |
tree | 6a5b0a77f3d08fd31c0d2a7b8af135527efd251e /arch/arm64/include/asm/compat.h | |
parent | 7faa313f05cad184e8b17750f0cbe5216ac6debb (diff) | |
download | linux-4d08d20f1c94b2da5847d3f9ba6c93ae5b1520c2.tar.xz |
arm64: fix ARM64_USER_VA_BITS_52 builds
In some randconfig builds, the new CONFIG_ARM64_USER_VA_BITS_52
triggered a build failure:
arch/arm64/mm/proc.S:287: Error: immediate out of range
As it turns out, we were incorrectly setting PGTABLE_LEVELS here,
lacking any other default value.
This fixes the calculation of CONFIG_PGTABLE_LEVELS to consider
all combinations again.
Fixes: 68d23da4373a ("arm64: Kconfig: Re-jig CONFIG options for 52-bit VA")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/compat.h')
0 files changed, 0 insertions, 0 deletions