aboutsummaryrefslogtreecommitdiff
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-x86/numaq.h b/include/asm-x86/numaq.h
index 739d16484b8..ef068d2465d 100644
--- a/include/asm-x86/numaq.h
+++ b/include/asm-x86/numaq.h
@@ -157,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 */