]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/page-flags.h
Merge branch 'slub/lockless' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[mirror_ubuntu-artful-kernel.git] / include / linux / page-flags.h
index 20791f18f5cf9c0470d5d312e5ed602b9a7ec03e..e90a673be67e1eebb4c98ba30c198ede805dcb82 100644 (file)
@@ -132,7 +132,7 @@ enum pageflags {
  * Macros to create function definitions for page flags
  */
 #define TESTPAGEFLAG(uname, lname)                                     \
-static inline int Page##uname(struct page *page)                       \
+static inline int Page##uname(const struct page *page)                 \
                        { return test_bit(PG_##lname, &page->flags); }
 
 #define SETPAGEFLAG(uname, lname)                                      \
@@ -170,7 +170,7 @@ static inline int __TestClearPage##uname(struct page *page)         \
        __SETPAGEFLAG(uname, lname)  __CLEARPAGEFLAG(uname, lname)
 
 #define PAGEFLAG_FALSE(uname)                                          \
-static inline int Page##uname(struct page *page)                       \
+static inline int Page##uname(const struct page *page)                 \
                        { return 0; }
 
 #define TESTSCFLAG(uname, lname)                                       \