• Sam Ravnborg's avatar
    mm: fix section mismatch warnings · 577a32f6
    Sam Ravnborg authored
    modpost had two cases hardcoded for mm/
    Shift over to __init_refok and kill the
    hardcoded function names in modpost.
    
    This has the drawback that the functions
    will always be kept no matter configuration.
    With previous code the function were placed in
    init section if configuration allowed it.
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    577a32f6
modpost.c 42.5 KB