Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86147
b: refs/heads/master
c: a62f735
h: refs/heads/master
i:
  86145: e12fa3c
  86143: 2bffacb
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Feb 22, 2008
1 parent f62b0e5 commit 413def9
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: 5e45bb2ebac937f2eb62138b5d734f3ac7ce8e2f
refs/heads/master: a62f735cbb1a0937ab6a9196dadf752694ef0b7f
4 changes: 2 additions & 2 deletions trunk/include/linux/page-flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static inline void SetPageUptodate(struct page *page)

#define PG_head_tail_mask ((1L << PG_compound) | (1L << PG_reclaim))

#define PageTail(page) ((page->flags & PG_head_tail_mask) \
#define PageTail(page) (((page)->flags & PG_head_tail_mask) \
== PG_head_tail_mask)

static inline void __SetPageTail(struct page *page)
Expand All @@ -279,7 +279,7 @@ static inline void __ClearPageTail(struct page *page)
page->flags &= ~PG_head_tail_mask;
}

#define PageHead(page) ((page->flags & PG_head_tail_mask) \
#define PageHead(page) (((page)->flags & PG_head_tail_mask) \
== (1L << PG_compound))
#define __SetPageHead(page) __SetPageCompound(page)
#define __ClearPageHead(page) __ClearPageCompound(page)
Expand Down

0 comments on commit 413def9

Please sign in to comment.