diff options
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r-- | include/linux/mmzone.h | 6 |
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); | |||
783 | static inline void memory_present(int nid, unsigned long start, unsigned long end) {} | 783 | static inline void memory_present(int nid, unsigned long start, unsigned long end) {} |
784 | #endif | 784 | #endif |
785 | 785 | ||
786 | #if defined(CONFIG_SPARSEMEM) | ||
787 | void memblocks_present(void); | ||
788 | #else | ||
789 | static inline void memblocks_present(void) {} | ||
790 | #endif | ||
791 | |||
786 | #ifdef CONFIG_HAVE_MEMORYLESS_NODES | 792 | #ifdef CONFIG_HAVE_MEMORYLESS_NODES |
787 | int local_memory_node(int node_id); | 793 | int local_memory_node(int node_id); |
788 | #else | 794 | #else |