From: Russell King Date: Fri, 18 Dec 2009 14:34:43 +0000 (+0000) Subject: ARM: Convert VFP/Crunch/XscaleCP thread_release() to exit_thread() X-Git-Tag: v2.6.33-rc2~5^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=797245f5da543074ee7db0e0516da744c89aa17f;p=pandora-kernel.git ARM: Convert VFP/Crunch/XscaleCP thread_release() to exit_thread() This avoids races in the VFP code where the dead thread may have state on another CPU. By moving this code to exit_thread(), we will be running as the thread, and therefore be running on the current CPU. This means that we can ensure that the only local state is accessed in the thread notifiers. Acked-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed