diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2006-06-23 09:03:00 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 14:42:45 (GMT) |
commit | 6f0419e06a3b151ab616a31accdabef41dc2d1b0 (patch) | |
tree | a297e66f7fe2ba2bc68b560eb7fa55fd5047e10b /mm/mempool.c | |
parent | d6938d1b2768fbf94d1091207d334ef7df786e5a (diff) | |
download | linux-fsl-qoriq-6f0419e06a3b151ab616a31accdabef41dc2d1b0.tar.xz |
[PATCH] for_each_possible_cpu: xfs
for_each_cpu() actually iterates across all possible CPUs. We've had mistakes
in the past where people were using for_each_cpu() where they should have been
iterating across only online or present CPUs. This is inefficient and
possibly buggy.
We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the
future.
This patch replaces for_each_cpu with for_each_possible_cpu.
in xfs.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions