From: KAMEZAWA Hiroyuki Date: Thu, 27 Apr 2006 09:25:00 +0000 (-0400) Subject: ACPI: use for_each_possible_cpu() instead of for_each_cpu() X-Git-Tag: v2.6.18-rc1~1081^2~19^2~3^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=193de0c79da580eb33a66113b62e2378fc1fb629;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed