x86: fix numaq_tsc_disable calling
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 13 Jul 2008 05:52:55 +0000 (22:52 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 13 Jul 2008 06:19:45 +0000 (08:19 +0200)
commit3d88cca7085cffce077f808f36551e9050eb9e3a
tree6bdd386b67e0935b4c3c51b6ec31e40471cf3745
parent7b479becdb8c1fb4ff6fbb2a4076c471c737b54c
x86: fix numaq_tsc_disable calling

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: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/numaq_32.c
arch/x86/kernel/setup.c
include/asm-x86/numaq.h