diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-28 13:16:30 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-27 22:16:31 -0400 |
commit | 9b1a4d38373a5581a4e01032a3ccdd94cd93477b (patch) | |
tree | 3d0f0ebd1ac4512551fc35e57d173870eb060c0c /mm/page_alloc.c | |
parent | eeec4fad963490821348a331cca6102ae1c4a7a3 (diff) |
stop_machine: Wean existing callers off stop_machine_run()
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6da667274df5..3cf3d05b6bd4 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -2372,7 +2372,7 @@ static void build_zonelist_cache(pg_data_t *pgdat) | |||
2372 | 2372 | ||
2373 | #endif /* CONFIG_NUMA */ | 2373 | #endif /* CONFIG_NUMA */ |
2374 | 2374 | ||
2375 | /* return values int ....just for stop_machine_run() */ | 2375 | /* return values int ....just for stop_machine() */ |
2376 | static int __build_all_zonelists(void *dummy) | 2376 | static int __build_all_zonelists(void *dummy) |
2377 | { | 2377 | { |
2378 | int nid; | 2378 | int nid; |
@@ -2397,7 +2397,7 @@ void build_all_zonelists(void) | |||
2397 | } else { | 2397 | } else { |
2398 | /* we have to stop all cpus to guarantee there is no user | 2398 | /* we have to stop all cpus to guarantee there is no user |
2399 | of zonelist */ | 2399 | of zonelist */ |
2400 | stop_machine_run(__build_all_zonelists, NULL, NR_CPUS); | 2400 | stop_machine(__build_all_zonelists, NULL, NULL); |
2401 | /* cpuset refresh routine should be here */ | 2401 | /* cpuset refresh routine should be here */ |
2402 | } | 2402 | } |
2403 | vm_total_pages = nr_free_pagecache_pages(); | 2403 | vm_total_pages = nr_free_pagecache_pages(); |