x86: Don't use magic strings for EFI loader signature
[deliverable/linux.git] / arch / x86 / kernel / setup.c
index 9a9e40fb091ccbf0c79885dbbfd7d2e64b125d45..4d5243c31ac45a0f6552e2cd318643ba957cde03 100644 (file)
@@ -752,12 +752,7 @@ void __init setup_arch(char **cmdline_p)
 #endif
 #ifdef CONFIG_EFI
        if (!strncmp((char *)&boot_params.efi_info.efi_loader_signature,
-#ifdef CONFIG_X86_32
-                    "EL32",
-#else
-                    "EL64",
-#endif
-        4)) {
+                    EFI_LOADER_SIGNATURE, 4)) {
                efi_enabled = 1;
                efi_memblock_x86_reserve_range();
        }
This page took 0.025104 seconds and 5 git commands to generate.