From: Matt Fleming <matt.fleming@xxxxxxxxx> These two patches cleanup the #include <linux/efi.h> duplication and get rid of the #ifdef CONFIG_X86 in efi.h, and add support for earlyprintk=efi, which is the only way users can debug early boot crashes without special hardware. Matt Fleming (2): efi: Add asm-generic/efi.h for non-x86 x86/efi: Add EFI framebuffer earlyprintk support Documentation/kernel-parameters.txt | 8 +- arch/ia64/include/asm/efi.h | 6 ++ arch/x86/Kconfig.debug | 9 ++ arch/x86/boot/compressed/eboot.c | 1 - arch/x86/include/asm/efi.h | 12 +++ arch/x86/kernel/early_printk.c | 6 ++ arch/x86/kernel/setup.c | 1 - arch/x86/platform/efi/Makefile | 1 + arch/x86/platform/efi/early_printk.c | 191 +++++++++++++++++++++++++++++++++++ arch/x86/platform/efi/efi.c | 1 - arch/x86/platform/efi/efi_32.c | 1 - arch/x86/platform/efi/efi_64.c | 1 - arch/x86/platform/uv/bios_uv.c | 1 - include/asm-generic/efi.h | 17 ++++ include/linux/efi.h | 31 +----- 15 files changed, 249 insertions(+), 38 deletions(-) create mode 100644 arch/ia64/include/asm/efi.h create mode 100644 arch/x86/platform/efi/early_printk.c create mode 100644 include/asm-generic/efi.h -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html