[linux-yocto] [PATCH 12/14] work around linker map issue

Alejandro Hernandez alejandro.hernandez at linux.intel.com
Mon Feb 13 12:41:25 PST 2017


From: Andi Kleen <ak at linux.intel.com>

Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
---
 arch/x86/kernel/vmlinux.lds.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 74e4bf1..5e5f39a 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -367,7 +367,9 @@ INIT_PER_CPU(irq_stack_union);
 #ifdef CONFIG_KEXEC_CORE
 #include <asm/kexec.h>
 
+#ifndef CONFIG_LTO
 . = ASSERT(kexec_control_code_size <= KEXEC_CONTROL_CODE_MAX_SIZE,
            "kexec control code size is too big");
 #endif
+#endif
 
-- 
2.6.6



More information about the linux-yocto mailing list