diff options
Diffstat (limited to 'mm/internal.h')
-rw-r--r-- | mm/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/internal.h b/mm/internal.h index 5d17f3efac41..50807e12490e 100644 --- a/mm/internal.h +++ b/mm/internal.h | |||
@@ -81,6 +81,7 @@ do { \ | |||
81 | extern void mminit_verify_pageflags_layout(void); | 81 | extern void mminit_verify_pageflags_layout(void); |
82 | extern void mminit_verify_page_links(struct page *page, | 82 | extern void mminit_verify_page_links(struct page *page, |
83 | enum zone_type zone, unsigned long nid, unsigned long pfn); | 83 | enum zone_type zone, unsigned long nid, unsigned long pfn); |
84 | extern void mminit_verify_zonelist(void); | ||
84 | 85 | ||
85 | #else | 86 | #else |
86 | 87 | ||
@@ -97,6 +98,10 @@ static inline void mminit_verify_page_links(struct page *page, | |||
97 | enum zone_type zone, unsigned long nid, unsigned long pfn) | 98 | enum zone_type zone, unsigned long nid, unsigned long pfn) |
98 | { | 99 | { |
99 | } | 100 | } |
101 | |||
102 | static inline void mminit_verify_zonelist(void) | ||
103 | { | ||
104 | } | ||
100 | #endif /* CONFIG_DEBUG_MEMORY_INIT */ | 105 | #endif /* CONFIG_DEBUG_MEMORY_INIT */ |
101 | 106 | ||
102 | /* mminit_validate_memmodel_limits is independent of CONFIG_DEBUG_MEMORY_INIT */ | 107 | /* mminit_validate_memmodel_limits is independent of CONFIG_DEBUG_MEMORY_INIT */ |