Re: [PATCH 1/2] efi: merge x86 and ia64 code

From: Matthew Garrett
Date: Wed Jul 13 2011 - 15:58:36 EST


On Wed, Jul 13, 2011 at 11:57:38AM -0700, H. Peter Anvin wrote:

> I get a build error on x86-32:
>
> /home/hpa/kernel/linux-2.6-tip.efi/arch/x86/platform/efi/efi_32.c:43:
> error: conflicting types for âefi_call_phys_prelogâ
> /home/hpa/kernel/linux-2.6-tip.efi/arch/x86/include/asm/efi.h:73: note:
> previous declaration of âefi_call_phys_prelogâ was here
> /home/hpa/kernel/linux-2.6-tip.efi/arch/x86/platform/efi/efi_32.c:85:
> error: conflicting types for âefi_call_phys_epilogâ
> /home/hpa/kernel/linux-2.6-tip.efi/arch/x86/include/asm/efi.h:74: note:
> previous declaration of âefi_call_phys_epilogâ was here
> make[5]: *** [arch/x86/platform/efi/efi_32.o] Error 1

Oops.

It's sadly much easier to test IA64 than it is to test 32-bit EFI
booting, but this one should at least build and link.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/