aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/vfp/vfpmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/vfp/vfpmodule.c')
-rw-r--r--arch/arm/vfp/vfpmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c
index 52b8f40b1c73..2f37e1d6cb45 100644
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -642,9 +642,9 @@ int vfp_restore_user_hwstate(struct user_vfp __user *ufp,
642static int vfp_hotplug(struct notifier_block *b, unsigned long action, 642static int vfp_hotplug(struct notifier_block *b, unsigned long action,
643 void *hcpu) 643 void *hcpu)
644{ 644{
645 if (action == CPU_DYING || action == CPU_DYING_FROZEN) { 645 if (action == CPU_DYING || action == CPU_DYING_FROZEN)
646 vfp_force_reload((long)hcpu, current_thread_info()); 646 vfp_current_hw_state[(long)hcpu] = NULL;
647 } else if (action == CPU_STARTING || action == CPU_STARTING_FROZEN) 647 else if (action == CPU_STARTING || action == CPU_STARTING_FROZEN)
648 vfp_enable(NULL); 648 vfp_enable(NULL);
649 return NOTIFY_OK; 649 return NOTIFY_OK;
650} 650}