From: Heiko Carstens Date: Mon, 9 Jun 2008 22:50:30 +0000 (-0700) Subject: iucv: prevent cpu hotplug when walking cpu_online_map. X-Git-Tag: v2.6.27-rc1~969^2~350 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b9d1b22a382aa221018c19880ee22c44467feec;p=pandora-kernel.git iucv: prevent cpu hotplug when walking cpu_online_map. The code used preempt_disable() to prevent cpu hotplug, however that doesn't protect for cpus being added. So use get_online_cpus() instead. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed