commit | bbc81fd4327f9ed4480b05981e38acd48b1d184a | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Nov 30 11:12:30 2010 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Dec 20 15:09:10 2010 +0000 |
tree | eac37c1c598418589bf70badacd9509b566cdecc | |
parent | 3c030beabf937b1d3b4ecaedfd1fb2f1e2aa0c70 [diff] |
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 <rmk+kernel@arm.linux.org.uk>