mm/memory_hotplug: use ensure_zone_is_initialized()
authorCody P Schafer <cody@linux.vnet.ibm.com>
Sat, 23 Feb 2013 00:35:31 +0000 (16:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:21 +0000 (17:50 -0800)
commit64dd1b29bfd76cec0f0db95efa68167d7245dcaf
tree281f16a4da65b840e6cc58574e86f0afd06030f0
parentf6bbb78e5bcbe45cfb8ed0d7ecd1549f4eb46a30
mm/memory_hotplug: use ensure_zone_is_initialized()

Remove open coding of ensure_zone_is_initialzied().

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>
mm/memory_hotplug.c