Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9402973d authored by Daniel Kiper's avatar Daniel Kiper Committed by Matt Fleming
Browse files

arch/x86: Replace plain strings with constants



We've got constants, so let's use them instead of hard-coded values.

Signed-off-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent be81c8a1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -924,10 +924,10 @@ void __init setup_arch(char **cmdline_p)
#endif
#ifdef CONFIG_EFI
	if (!strncmp((char *)&boot_params.efi_info.efi_loader_signature,
		     "EL32", 4)) {
		     EFI32_LOADER_SIGNATURE, 4)) {
		set_bit(EFI_BOOT, &efi.flags);
	} else if (!strncmp((char *)&boot_params.efi_info.efi_loader_signature,
		     "EL64", 4)) {
		     EFI64_LOADER_SIGNATURE, 4)) {
		set_bit(EFI_BOOT, &efi.flags);
		set_bit(EFI_64BIT, &efi.flags);
	}