• Y
    x86: fix numaq_tsc_disable calling · 3d88cca7
    Yinghai Lu 提交于
    got this on a test-system:
    
     calling  numaq_tsc_disable+0x0/0x39
     NUMAQ: disabling TSC
     initcall numaq_tsc_disable+0x0/0x39 returned 0 after 0 msecs
    
    that's because we should not be using arch_initcall to call numaq_tsc_disable.
    
    need to call it in setup_arch before time_init()/tsc_init()
    and call it in init_intel() to make the cpu feature bits right.
    Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    3d88cca7
setup.c 21.2 KB