summaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 847705a6d0ec..db023a92f3a4 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -783,6 +783,12 @@ void memory_present(int nid, unsigned long start, unsigned long end);
783static inline void memory_present(int nid, unsigned long start, unsigned long end) {} 783static inline void memory_present(int nid, unsigned long start, unsigned long end) {}
784#endif 784#endif
785 785
786#if defined(CONFIG_SPARSEMEM)
787void memblocks_present(void);
788#else
789static inline void memblocks_present(void) {}
790#endif
791
786#ifdef CONFIG_HAVE_MEMORYLESS_NODES 792#ifdef CONFIG_HAVE_MEMORYLESS_NODES
787int local_memory_node(int node_id); 793int local_memory_node(int node_id);
788#else 794#else