mmzone: add pgdat_{end_pfn,is_empty}() helpers & consolidate.
authorCody P Schafer <cody@linux.vnet.ibm.com>
Sat, 23 Feb 2013 00:35:27 +0000 (16:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:20 +0000 (17:50 -0800)
commitda3649e133948d8b7d8c57b05a33faf62ac2cc7e
treed03e6ce3b4ee6a5b08739839809c88ae8ec53629
parentd29bb9782d22063892e28716cdb76a87d2876ddb
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h