]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/boot/header.S
kexec: split kexec_load syscall from kexec core code
[karo-tx-linux.git] / arch / x86 / boot / header.S
index 7a6d43a554d7789316c9980080eaad17026105ae..2d6b309c8e9a12ac67ddf9d9cb429cb1fe8a7eae 100644 (file)
@@ -154,7 +154,7 @@ extra_header_fields:
 #else
        .quad   0                               # ImageBase
 #endif
-       .long   0x20                            # SectionAlignment
+       .long   CONFIG_PHYSICAL_ALIGN           # SectionAlignment
        .long   0x20                            # FileAlignment
        .word   0                               # MajorOperatingSystemVersion
        .word   0                               # MinorOperatingSystemVersion
@@ -414,7 +414,7 @@ xloadflags:
 # define XLF23 0
 #endif
 
-#if defined(CONFIG_X86_64) && defined(CONFIG_EFI) && defined(CONFIG_KEXEC)
+#if defined(CONFIG_X86_64) && defined(CONFIG_EFI) && defined(CONFIG_KEXEC_CORE)
 # define XLF4 XLF_EFI_KEXEC
 #else
 # define XLF4 0