• Vegard Nossum's avatar
    x86: fix BUG: unable to handle kernel paging request (numaq_tsc_disable) · b2a6a58c
    Vegard Nossum authored
    This section mismatch:
    
    >> Seems to be a section mismatch; init_intel() is __cpuinit while
    >> numaq_tsc_disable() is __init. Seems to be introduced in:
    >>
    >> commit 64898a8b
    >> Author: Yinghai Lu <yhlu.kernel@gmail.com>
    >> Date:   Sat Jul 19 18:01:16 2008 -0700
    >>
    >>    x86: extend and use x86_quirks to clean up NUMAQ code
    >
    > Oops, I am wrong about numaq_tsc_disable() being __init. Still, I
    > believe that Yinghai might be able to say what's really wrong :-)
    
    Would lead to this crash:
    
      BUG: unable to handle kernel paging request at c08a45f0
      IP: [<c08a45f0>] numaq_tsc_disable+0x0/0x40
    
    Fixed by the patch below.
    Signed-off-by: default avatarVegard Nossum <vegardno@ifi.uio.no>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    b2a6a58c
numaq_32.c 7.2 KB