rv32im: add missing call of 'up_savefpu'.

Change-Id: Iaf2e212a4fdea2f5f04a178d24755e0e37a30ef6
Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
zhongan 2020-07-01 20:15:44 +08:00 committed by Abdelatif Guettouche
parent 07dd053e86
commit 6240977341

View File

@ -81,5 +81,9 @@ void up_copystate(uint32_t *dest, uint32_t *src)
{
*dest++ = *src++;
}
#ifdef CONFIG_ARCH_FPU
up_savefpu(dest);
#endif
}
}