diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 9bbddf228cd9..e67980654c49 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -328,6 +328,12 @@ static inline void get_page(struct page *page) | |||
328 | 328 | ||
329 | void put_page(struct page *page); | 329 | void put_page(struct page *page); |
330 | 330 | ||
331 | #ifdef CONFIG_MMU | ||
332 | void split_page(struct page *page, unsigned int order); | ||
333 | #else | ||
334 | static inline void split_page(struct page *page, unsigned int order) {} | ||
335 | #endif | ||
336 | |||
331 | /* | 337 | /* |
332 | * Multiple processes may "see" the same page. E.g. for untouched | 338 | * Multiple processes may "see" the same page. E.g. for untouched |
333 | * mappings of /dev/null, all processes see the same page full of | 339 | * mappings of /dev/null, all processes see the same page full of |