From: Russell King Date: Tue, 30 Nov 2010 11:12:30 +0000 (+0000) Subject: ARM: CPU hotplug: remove bug checks in platform_cpu_die() X-Git-Tag: v2.6.38-rc1~471^2~2^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbc81fd4327f9ed4480b05981e38acd48b1d184a;p=pandora-kernel.git ARM: CPU hotplug: remove bug checks in platform_cpu_die() platform_cpu_die() is entered from the CPU's own idle thread, which can not be migrated to other CPUs. Moreover, the 'cpu' argument comes from the thread info, which will always be the 'current' CPU. So remove this useless bug check. Signed-off-by: Russell King --- Reading git-diff-tree failed