mm: check that we haven't used more than 32 bits in address_space.flags
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 10 Sep 2016 10:34:11 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:11 +0000 (20:34 +1000)
commitf79ed973db90cb9c7384f0cfdcf605b2fc6a7e82
treebf5339a54e42e49a520ef0c874c2ebf65ff369b7
parent6cc94b5acbf1a25fb78fd8c9123133c4bed67e2d
mm: check that we haven't used more than 32 bits in address_space.flags

After "mm: don't use radix tree writeback tags for pages in swap cache",
all the flags are now used up on 32-bit builds.

Add a build-time assertion to prevent 64-bit developers from accidentally
breaking things.

Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: "Huang, Ying" <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pagemap.h
init/main.c
This page took 0.027117 seconds and 5 git commands to generate.