Message ID | 20171127213423.27218-16-andi@firstfloor.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 8a64a6f2848d..8187d8ee98ee 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c @@ -808,7 +808,9 @@ void __init mem_init(void) BUILD_BUG_ON(VMALLOC_END > PKMAP_BASE); #endif #define high_memory (-128UL << 20) +#ifndef CONFIG_LTO BUILD_BUG_ON(VMALLOC_START >= VMALLOC_END); +#endif #undef high_memory #undef __FIXADDR_TOP