aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/swsusp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/swsusp.c')
-rw-r--r--arch/powerpc/kernel/swsusp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/swsusp.c b/arch/powerpc/kernel/swsusp.c
index eae33e10b65f..6669b1752512 100644
--- a/arch/powerpc/kernel/swsusp.c
+++ b/arch/powerpc/kernel/swsusp.c
@@ -20,9 +20,7 @@ void save_processor_state(void)
* flush out all the special registers so we don't need
* to save them in the snapshot
*/
- flush_fp_to_thread(current);
- flush_altivec_to_thread(current);
- flush_spe_to_thread(current);
+ flush_all_to_thread(current);
#ifdef CONFIG_PPC64
hard_irq_disable();