diff options
author | Andrey Ryabinin <aryabinin@virtuozzo.com> | 2015-11-17 15:47:08 (GMT) |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-11-26 15:27:09 (GMT) |
commit | f1b9032f61c0412082a240cb7245f8b79e09ae8d (patch) | |
tree | 02f0f098843bb7fa3511e6967dd862e9db16b7c5 /arch/x86/xen | |
parent | 3b12acf4c999abaf93023af4bd78d931bce2520c (diff) | |
download | linux-f1b9032f61c0412082a240cb7245f8b79e09ae8d.tar.xz |
arm64: KASAN depends on !(ARM64_16K_PAGES && ARM64_VA_BITS_48)
On KASAN + 16K_PAGES + 48BIT_VA
arch/arm64/mm/kasan_init.c: In function ‘kasan_early_init’:
include/linux/compiler.h:484:38: error: call to ‘__compiletime_assert_95’ declared with attribute error: BUILD_BUG_ON failed: !IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
Currently KASAN will not work on 16K_PAGES and 48BIT_VA, so
forbid such configuration to avoid above build failure.
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Reported-by: Suzuki K. Poulose <Suzuki.Poulose@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions