]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
memory_hotplug-use-pgdat_resize_lock-in-__offline_pages-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 7 Jun 2013 00:07:46 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:10 +0000 (15:42 +1000)
fix build

Cc: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory_hotplug.c

index 330b2c9826337ba9ec4bde07c7d828b9aec5b849..bef133edbe49699bbf70676b40730daa2b935677 100644 (file)
@@ -1492,6 +1492,7 @@ static int __ref __offline_pages(unsigned long start_pfn,
        unsigned long pfn, nr_pages, expire;
        long offlined_pages;
        int ret, drain, retry_max, node;
+       unsigned long flags;
        struct zone *zone;
        struct memory_notify arg;