]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/vmlinux_64.lds.S
Merge branch 'x86/core' into x86/kconfig
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / vmlinux_64.lds.S
index fbfced6f6800c11052a7f640fd4edd1d32a2b3a5..5bf54e40c6efb41cf31fc3d44017d5b9acf402ec 100644 (file)
@@ -275,3 +275,10 @@ ASSERT((_end - _text <= KERNEL_IMAGE_SIZE),
 ASSERT((per_cpu__irq_stack_union == 0),
         "irq_stack_union is not at start of per-cpu area");
 #endif
+
+#ifdef CONFIG_KEXEC
+#include <asm/kexec.h>
+
+ASSERT(kexec_control_code_size <= KEXEC_CONTROL_CODE_MAX_SIZE,
+       "kexec control code size is too big")
+#endif