Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258922
b: refs/heads/master
c: 67db392
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Linus Torvalds committed Jul 26, 2011
1 parent e583987 commit 768d308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33dd4e0ec91138c3d80e790c08a3db47426c81f2
refs/heads/master: 67db392d1124e14684e23deb572de2a63b9b3b69
4 changes: 2 additions & 2 deletions trunk/include/linux/page-flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,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) \
Expand Down Expand Up @@ -173,7 +173,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) \
Expand Down

0 comments on commit 768d308

Please sign in to comment.