]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/page_alloc.c
stop_machine: Wean existing callers off stop_machine_run()
[net-next-2.6.git] / mm / page_alloc.c
index 6da667274df58e17be400eaa36786848c683ca6f..3cf3d05b6bd482767c71265ee3b9ad0d16ad9c7e 100644 (file)
@@ -2372,7 +2372,7 @@ static void build_zonelist_cache(pg_data_t *pgdat)
 
 #endif /* CONFIG_NUMA */
 
-/* return values int ....just for stop_machine_run() */
+/* return values int ....just for stop_machine() */
 static int __build_all_zonelists(void *dummy)
 {
        int nid;
@@ -2397,7 +2397,7 @@ void build_all_zonelists(void)
        } else {
                /* we have to stop all cpus to guarantee there is no user
                   of zonelist */
-               stop_machine_run(__build_all_zonelists, NULL, NR_CPUS);
+               stop_machine(__build_all_zonelists, NULL, NULL);
                /* cpuset refresh routine should be here */
        }
        vm_total_pages = nr_free_pagecache_pages();