[PATCH] EFI: fix function prototype - Kernel

This is a discussion on [PATCH] EFI: fix function prototype - Kernel ; From: Randy Dunlap Fix function prototype in header file to match source code: linux-next-20080807/arch/x86/kernel/efi_64.c:100:14: error: symbol 'efi_ioremap' redeclared with different type (originally declared at include2/asm/efi.h:89) - different address spaces Signed-off-by: Randy Dunlap --- include/asm-x86/efi.h | 2 +- 1 file changed, ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] EFI: fix function prototype

  1. [PATCH] EFI: fix function prototype

    From: Randy Dunlap

    Fix function prototype in header file to match source code:

    linux-next-20080807/arch/x86/kernel/efi_64.c:100:14: error: symbol 'efi_ioremap' redeclared with different type (originally declared at include2/asm/efi.h:89) - different address spaces

    Signed-off-by: Randy Dunlap
    ---
    include/asm-x86/efi.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-next-20080807.orig/include/asm-x86/efi.h
    +++ linux-next-20080807/include/asm-x86/efi.h
    @@ -86,7 +86,7 @@ extern u64 efi_call6(void *fp, u64 arg1,
    efi_call6((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \
    (u64)(a3), (u64)(a4), (u64)(a5), (u64)(a6))

    -extern void *efi_ioremap(unsigned long addr, unsigned long size);
    +extern void __iomem *efi_ioremap(unsigned long addr, unsigned long size);

    #endif /* CONFIG_X86_32 */



    ---
    ~Randy
    Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
    http://linuxplumbersconf.org/
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] EFI: fix function prototype


    * Randy Dunlap wrote:

    > From: Randy Dunlap
    >
    > Fix function prototype in header file to match source code:
    >
    > linux-next-20080807/arch/x86/kernel/efi_64.c:100:14: error: symbol 'efi_ioremap' redeclared with different type (originally declared at include2/asm/efi.h:89) - different address spaces


    applied to tip/x86/urgent, thanks Randy.

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

+ Reply to Thread