page flags: handle PG_uncached like all other flags
authorChristoph Lameter <clameter@sgi.com>
Mon, 28 Apr 2008 09:12:52 +0000 (02:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:22 +0000 (08:58 -0700)
commit602c4d112f9abf43af4b882b4a6f5505ed5c51b7
tree8c2cdb82fbf4c67899a3cab0ea0f2d3e2a3ffdfe
parent0a128b2b1a5e8ebce0260e3345812ee70daccc7f
page flags: handle PG_uncached like all other flags

Remove the special setup for PG_uncached and simply make it part of the enum.
The page flag will only be allocated when the kernel build includes the
uncached allocator.

Acked-by: Dean Nelson <dcn@sgi.com>
Cc: Jes Sorensen <jes@trained-monkey.org>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/page-flags.h