ARM: 7873/1: vfp: clear vfp_current_hw_state for dying cpu
authorYuanyuan Zhong <zyy@motorola.com>
Wed, 30 Oct 2013 16:31:49 +0000 (17:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 30 Oct 2013 22:10:10 +0000 (22:10 +0000)
commit384b38b66947b06999b3e39a596d4f2fb94f77e4
tree68679012484c135ae68a02f04682144d3c2e5384
parent0ea1ec713f04bdfac343c9702b21cd3a7c711826
ARM: 7873/1: vfp: clear vfp_current_hw_state for dying cpu

The CPU_DYING notifier is called by cpu stopper task which
does not own the context held in the VFP hardware. Calling
vfp_force_reload() has no effect.
Replace it with clearing vfp_current_hw_state.

Signed-off-by: Yuanyuan Zhong <zyy@motorola.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpmodule.c