diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 22:05:15 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 22:05:16 +1030 |
commit | aa85ea5b89c36c51200d795dd788139bd9b8cf50 (patch) | |
tree | 0b68a35b691417d927127376beb0541d96c9cc64 /mm/vmstat.c | |
parent | 1a8a51004a18b627ea81444201f7867875212f46 (diff) | |
download | op-kernel-dev-aa85ea5b89c36c51200d795dd788139bd9b8cf50.zip op-kernel-dev-aa85ea5b89c36c51200d795dd788139bd9b8cf50.tar.gz |
cpumask: use new cpumask_ functions in core code.
Impact: cleanup
Time to clean up remaining laggards using the old cpu_ functions.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Trond.Myklebust@netapp.com
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r-- | mm/vmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index 9114974..8cd81ea 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -27,7 +27,7 @@ static void sum_vm_events(unsigned long *ret, const struct cpumask *cpumask) memset(ret, 0, NR_VM_EVENT_ITEMS * sizeof(unsigned long)); - for_each_cpu_mask_nr(cpu, *cpumask) { + for_each_cpu(cpu, cpumask) { struct vm_event_state *this = &per_cpu(vm_event_states, cpu); for (i = 0; i < NR_VM_EVENT_ITEMS; i++) |