]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: page-flags: clean up the page flag test, set, clear macros
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 26 Jun 2014 00:42:36 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:36 +0000 (10:42 +1000)
commite211c169e770a859b34d231e7b341ea7b070120b
tree6b2f711008c819a62cab0c3d5d341e2d619209f9
parenta2e03c300c9351249cacf2a531dfd03b74a3df6c
mm: page-flags: clean up the page flag test, set, clear macros

- PAGEFLAG_FALSE only defines TEST, make it define SET and CLEAR as
  well, analogous to PAGEFLAG.

- Define TESTSETFLAG_FALSE, analogous to TESTSETFLAG.

- Define TESTSCFLAG_FALSE, analogous to TESTSCFLAG

- Make PG_mlocked accessors the same on both MMU and !MMU setups

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-flags.h