aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/numaq.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-13 01:52:55 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-13 02:19:45 -0400
commit3d88cca7085cffce077f808f36551e9050eb9e3a (patch)
tree6bdd386b67e0935b4c3c51b6ec31e40471cf3745 /include/asm-x86/numaq.h
parent7b479becdb8c1fb4ff6fbb2a4076c471c737b54c (diff)
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>
Diffstat (limited to 'include/asm-x86/numaq.h')
-rw-r--r--include/asm-x86/numaq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/numaq.h b/include/asm-x86/numaq.h
index ef068d2465d6..34b92d581fa3 100644
--- a/include/asm-x86/numaq.h
+++ b/include/asm-x86/numaq.h
@@ -157,6 +157,8 @@ struct sys_cfg_data {
157 struct eachquadmem eq[MAX_NUMNODES]; /* indexed by quad id */ 157 struct eachquadmem eq[MAX_NUMNODES]; /* indexed by quad id */
158}; 158};
159 159
160void numaq_tsc_disable(void);
161
160#else 162#else
161static inline int get_memcfg_numaq(void) 163static inline int get_memcfg_numaq(void)
162{ 164{