diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2010-08-10 04:18:59 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 07:44:57 +0400 |
commit | 31f961a89bd1cb9baaf32af4bd8b571ace3447b1 (patch) | |
tree | add1380e479ff92ad92da090e606857162b88e66 /include/asm-generic/topology.h | |
parent | 0aad4b3124850e85fe54e610802f0917ce46a1ae (diff) | |
download | linux-31f961a89bd1cb9baaf32af4bd8b571ace3447b1.tar.xz |
mm: use for_each_online_cpu() in vmstat
The sum_vm_events passes cpumask for for_each_cpu(). But it's useless
since we have for_each_online_cpu. Althougth it's tirival overhead, it's
not good about coding consistency.
Let's use for_each_online_cpu instead of for_each_cpu with cpumask
argument.
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/topology.h')
0 files changed, 0 insertions, 0 deletions