diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2006-04-27 05:25:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-05-13 23:11:29 -0400 |
commit | 193de0c79da580eb33a66113b62e2378fc1fb629 (patch) | |
tree | 62e278011d758b57105af7d00d1b0b9977d0f2e3 /arch | |
parent | 9011bff4bdc0fef1f9a782d7415c306ee61826c9 (diff) | |
download | linux-193de0c79da580eb33a66113b62e2378fc1fb629.tar.gz linux-193de0c79da580eb33a66113b62e2378fc1fb629.tar.xz |
ACPI: use for_each_possible_cpu() instead of for_each_cpu()
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.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions