• Andrew Morton's avatar
    x86: section mismatch fix · be524fb9
    Andrew Morton authored
    Fix this:
    
     WARNING: vmlinux.o(.text+0x114bb): Section mismatch in reference from
     the function nopat() to the function .cpuinit.text:pat_disable()
     The function nopat() references
     the function __cpuinit pat_disable().
     This is often because nopat lacks a __cpuinit
     annotation or the annotation of pat_disable is wrong.
    Reported-by: default avatar"Fabio Comolli" <fabio.comolli@gmail.com>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    be524fb9
pat.c 14.6 KB