summaryrefslogtreecommitdiffstats
path: root/arch/nds32/kernel/sleep.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/kernel/sleep.S')
-rw-r--r--arch/nds32/kernel/sleep.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/nds32/kernel/sleep.S b/arch/nds32/kernel/sleep.S
index 60c64bfbc901..ca4e61f3656f 100644
--- a/arch/nds32/kernel/sleep.S
+++ b/arch/nds32/kernel/sleep.S
@@ -36,7 +36,9 @@ suspend2ram:
mfsr $r17, $ir14
mfsr $r18, $ir15
pushm $r0, $r19
-
+#if defined(CONFIG_FPU)
+ jal store_fpu_for_suspend
+#endif
tlbop FlushAll
isb