x86: Don't use magic strings for EFI loader signature
authorMatt Fleming <matt.fleming@intel.com>
Tue, 15 Nov 2011 12:56:14 +0000 (12:56 +0000)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 10 Dec 2011 01:35:38 +0000 (17:35 -0800)
commitf7d7d01be53cb47e0ae212c4e968aa28b82d2138
treea5392888758468720073c955b1ebe1e620786c48
parent8af21e7e71d1ac56d9b66fb787a14fd66af7f5f7
x86: Don't use magic strings for EFI loader signature

Introduce a symbol, EFI_LOADER_SIGNATURE instead of using the magic
strings, which also helps to reduce the amount of ifdeffery.

Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/1318848017-12301-1-git-send-email-matt@console-pimps.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/efi.h
arch/x86/kernel/setup.c