diff options
Diffstat (limited to 'mm/internal.h')
-rw-r--r-- | mm/internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mm/internal.h b/mm/internal.h index a7ee05253294..7a4a2885dc8e 100644 --- a/mm/internal.h +++ b/mm/internal.h | |||
@@ -78,6 +78,10 @@ do { \ | |||
78 | } \ | 78 | } \ |
79 | } while (0) | 79 | } while (0) |
80 | 80 | ||
81 | extern void mminit_verify_pageflags_layout(void); | ||
82 | extern void mminit_verify_page_links(struct page *page, | ||
83 | enum zone_type zone, unsigned long nid, unsigned long pfn); | ||
84 | |||
81 | #else | 85 | #else |
82 | 86 | ||
83 | static inline void mminit_dprintk(enum mminit_level level, | 87 | static inline void mminit_dprintk(enum mminit_level level, |
@@ -85,5 +89,13 @@ static inline void mminit_dprintk(enum mminit_level level, | |||
85 | { | 89 | { |
86 | } | 90 | } |
87 | 91 | ||
92 | static inline void mminit_verify_pageflags_layout(void) | ||
93 | { | ||
94 | } | ||
95 | |||
96 | static inline void mminit_verify_page_links(struct page *page, | ||
97 | enum zone_type zone, unsigned long nid, unsigned long pfn) | ||
98 | { | ||
99 | } | ||
88 | #endif /* CONFIG_DEBUG_MEMORY_INIT */ | 100 | #endif /* CONFIG_DEBUG_MEMORY_INIT */ |
89 | #endif | 101 | #endif |