summaryrefslogtreecommitdiffstats
path: root/include/linux/numa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/numa.h')
-rw-r--r--include/linux/numa.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/numa.h b/include/linux/numa.h
index 1d43371faf..915033a757 100644
--- a/include/linux/numa.h
+++ b/include/linux/numa.h
@@ -36,7 +36,12 @@ int memory_add_physaddr_to_nid(u64 start);
int phys_to_target_node(u64 start);
#endif
-int numa_fill_memblks(u64 start, u64 end);
+#ifndef numa_fill_memblks
+static inline int __init numa_fill_memblks(u64 start, u64 end)
+{
+ return NUMA_NO_MEMBLK;
+}
+#endif
#else /* !CONFIG_NUMA */
static inline int numa_nearest_node(int node, unsigned int state)