diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 1961056b1af7..a862a96952e0 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -232,8 +232,8 @@ static inline int get_page_unless_zero(struct page *page) | |||
232 | } | 232 | } |
233 | 233 | ||
234 | /* Support for virtually mapped pages */ | 234 | /* Support for virtually mapped pages */ |
235 | struct page *vmalloc_to_page(void *addr); | 235 | struct page *vmalloc_to_page(const void *addr); |
236 | unsigned long vmalloc_to_pfn(void *addr); | 236 | unsigned long vmalloc_to_pfn(const void *addr); |
237 | 237 | ||
238 | static inline struct page *compound_head(struct page *page) | 238 | static inline struct page *compound_head(struct page *page) |
239 | { | 239 | { |