]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmzone: add pgdat_{end_pfn,is_empty}() helpers & consolidate.
authorCody P Schafer <cody@linux.vnet.ibm.com>
Thu, 7 Feb 2013 01:27:06 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:51 +0000 (16:46 +1100)
commit6b4731682f06900dd29579c5b75fa17f3c046313
tree54b5985b9ea49955b7a77e5baed18cef15b3bfe7
parent9a7486f0d245aaa24f3b08f6e322d71ac96a7677
mmzone: add pgdat_{end_pfn,is_empty}() helpers & consolidate.

Add pgdat_end_pfn() and pgdat_is_empty() helpers which match the similar
zone_*() functions.

Change node_end_pfn() to be a wrapper of pgdat_end_pfn().

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: David Hansen <dave@linux.vnet.ibm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h