diff --git a/include/linux/mm.h b/include/linux/mm.h index babd728199303113ccc88179c288e4efbacdab5f..dc5f3647e76dc60cec6cb2a69550b2678740cf57 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1596,7 +1596,7 @@ struct address_space *page_mapping_file(struct page *page); * ALLOC_NO_WATERMARKS and the low watermark was not * met implying that the system is under some pressure. */ -static inline bool page_is_pfmemalloc(struct page *page) +static inline bool page_is_pfmemalloc(const struct page *page) { /* * Page index cannot be this large so this must be