From 77a21259eb8c09f26f3eb9f018bf8fb0033e4ffa Mon Sep 17 00:00:00 2001 From: Ycarus Date: Tue, 23 Oct 2018 14:15:56 +0200 Subject: [PATCH] Fix vfpmodule patch --- .../linux/brcm2708/patches-4.14/0031-Update-vfpmodule.c.patch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/root/target/linux/brcm2708/patches-4.14/0031-Update-vfpmodule.c.patch b/root/target/linux/brcm2708/patches-4.14/0031-Update-vfpmodule.c.patch index b3309cd7..ab91d5f5 100644 --- a/root/target/linux/brcm2708/patches-4.14/0031-Update-vfpmodule.c.patch +++ b/root/target/linux/brcm2708/patches-4.14/0031-Update-vfpmodule.c.patch @@ -104,10 +104,9 @@ index a71a48e71fff..d6c0a5a0a5ae 100644 vfp_save_state(&thread->vfpstate, fpexc | FPEXC_EN); fmxr(FPEXC, fpexc); } -@@ -604,6 +611,7 @@ int vfp_restore_user_hwstate(struct user_vfp __user *ufp, +@@ -604,5 +611,6 @@ int vfp_restore_user_hwstate(struct user_vfp __user *ufp, struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; unsigned long fpexc; - int err = 0; + u32 fpsid = fmrx(FPSID); /* Disable VFP to avoid corrupting the new thread state. */