arm64: uaccess: Fix omissions from usercopy whitelist
[muen/linux.git] / arch / arm64 / kernel / signal32.c
index 374333703cbdf276bfc397f869fcf7f72ae8131a..77b91f478995fd3b0a881bfa80511337d9bc33b5 100644 (file)
@@ -149,7 +149,8 @@ union __fpsimd_vreg {
 
 static int compat_preserve_vfp_context(struct compat_vfp_sigframe __user *frame)
 {
-       struct user_fpsimd_state const *fpsimd = &current->thread.fpsimd_state;
+       struct user_fpsimd_state const *fpsimd =
+               &current->thread.uw.fpsimd_state;
        compat_ulong_t magic = VFP_MAGIC;
        compat_ulong_t size = VFP_STORAGE_SIZE;
        compat_ulong_t fpscr, fpexc;