• Ingo Molnar's avatar
    x86: fix csum_partial() export · 89804c02
    Ingo Molnar authored
    Fix this symbol export problem:
    
        Building modules, stage 2.
        MODPOST 193 modules
        ERROR: "csum_partial" [fs/reiserfs/reiserfs.ko] undefined!
        make[1]: *** [__modpost] Error 1
        make: *** [modules] Error 2
    
    This is due to a known weakness of symbol exports: if a symbol's
    only in-core user is an EXPORT_SYMBOL from a lib-y section, the
    symbol is not linked in.
    
    The solution is to move the export to x8664_ksyms_64.c - but the real
    solution would be to fix kbuild.
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    89804c02
x8664_ksyms_64.c 1.41 KB