]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm/page_alloc: relocate comment to be directly above code it refers to.
authorCody P Schafer <cody@linux.vnet.ibm.com>
Wed, 19 Jun 2013 00:05:54 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:57 +0000 (17:12 +1000)
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c

index a235149d9406b2e48eb068087bd363610992194e..2793ce50f316d74be67c370c7c5670ba79c44ea5 100644 (file)
@@ -3711,12 +3711,12 @@ void __ref build_all_zonelists(pg_data_t *pgdat, struct zone *zone)
                mminit_verify_zonelist();
                cpuset_init_current_mems_allowed();
        } else {
-               /* we have to stop all cpus to guarantee there is no user
-                  of zonelist */
 #ifdef CONFIG_MEMORY_HOTPLUG
                if (zone)
                        setup_zone_pageset(zone);
 #endif
+               /* we have to stop all cpus to guarantee there is no user
+                  of zonelist */
                stop_machine(__build_all_zonelists, pgdat, NULL);
                /* cpuset refresh routine should be here */
        }