Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94017
b: refs/heads/master
c: 602c4d1
h: refs/heads/master
i:
  94015: febada3
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Apr 28, 2008
1 parent a41141d commit 4531998
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 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: 0a128b2b1a5e8ebce0260e3345812ee70daccc7f
refs/heads/master: 602c4d112f9abf43af4b882b4a6f5505ed5c51b7
19 changes: 8 additions & 11 deletions trunk/include/linux/page-flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,8 @@ enum pageflags {
PG_mappedtodisk, /* Has blocks allocated on-disk */
PG_reclaim, /* To be reclaimed asap */
PG_buddy, /* Page is free, on buddy lists */

#if (BITS_PER_LONG > 32)
/*
* 64-bit-only flags build down from bit 31
*
* 32 bit -------------------------------| FIELDS | FLAGS |
* 64 bit | FIELDS | ?????? FLAGS |
* 63 32 0
*/
PG_uncached = 31, /* Page has been mapped as uncached */
#ifdef CONFIG_IA64_UNCACHED_ALLOCATOR
PG_uncached, /* Page has been mapped as uncached */
#endif
__NR_PAGEFLAGS
};
Expand Down Expand Up @@ -194,8 +186,13 @@ static inline int PageSwapCache(struct page *page)
}
#endif

#if (BITS_PER_LONG > 32)
#ifdef CONFIG_IA64_UNCACHED_ALLOCATOR
PAGEFLAG(Uncached, uncached)
#else
static inline int PageUncached(struct page *)
{
return 0;
}
#endif

static inline int PageUptodate(struct page *page)
Expand Down

0 comments on commit 4531998

Please sign in to comment.