summaryrefslogtreecommitdiff
path: root/include/asm-x86/numaq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/numaq.h')
-rw-r--r--include/asm-x86/numaq.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-x86/numaq.h b/include/asm-x86/numaq.h
index 94b86c3..ef068d24 100644
--- a/include/asm-x86/numaq.h
+++ b/include/asm-x86/numaq.h
@@ -28,6 +28,7 @@
#ifdef CONFIG_X86_NUMAQ
+extern int found_numaq;
extern int get_memcfg_numaq(void);
/*
@@ -156,9 +157,10 @@ struct sys_cfg_data {
struct eachquadmem eq[MAX_NUMNODES]; /* indexed by quad id */
};
-static inline unsigned long *get_zholes_size(int nid)
+#else
+static inline int get_memcfg_numaq(void)
{
- return NULL;
+ return 0;
}
#endif /* CONFIG_X86_NUMAQ */
#endif /* NUMAQ_H */