lkml.org 
[lkml]   [2006]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.15-mm2
    Quoting Andrew Morton (akpm@osdl.org):
    >
    > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15/2.6.15-mm2/

    With both this and 2.6.15-mm1, but not with 2.6.15, I get the following
    error:

    mm/built-in.o(*ABS*+0x39c3c7ac): In function `__crc___handle_mm_fault':
    slab.c: multiple definition of `__crc___handle_mm_fault'
    make: *** [.tmp_vmlinux1] Error 1

    The culprit appears to be that there are two places where
    __handle_mm_fault is EXPORT_SYMBOL_GPLed. The following trivial patch
    fixes it for me.

    Signed-off-by: Serge Hallyn <serue@us.ibm.com>

    Index: linux-2.6.15/arch/powerpc/kernel/ppc_ksyms.c
    ===================================================================
    --- linux-2.6.15.orig/arch/powerpc/kernel/ppc_ksyms.c 2006-01-10 04:59:11.000000000 -0600
    +++ linux-2.6.15/arch/powerpc/kernel/ppc_ksyms.c 2006-01-10 09:07:40.000000000 -0600
    @@ -240,8 +240,6 @@ EXPORT_SYMBOL(next_mmu_context);
    EXPORT_SYMBOL(set_context);
    #endif

    -EXPORT_SYMBOL_GPL(__handle_mm_fault);
    -
    #ifdef CONFIG_PPC_STD_MMU_32
    extern long mol_trampoline;
    EXPORT_SYMBOL(mol_trampoline); /* For MOL */

    thanks,
    -serge
    -
    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/

    \
     
     \ /
      Last update: 2006-01-10 22:22    [W:2.399 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site