Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
[muen/linux.git] / arch / arm64 / kernel / fpsimd.c
index d15f38ad70cb5e8db3f7d83adeeae793ce804f4d..3b527ae46e492b773a98a2a091a608bcec3dc119 100644 (file)
@@ -872,7 +872,7 @@ asmlinkage void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs)
                        si_code = FPE_FLTRES;
        }
 
-       memset(&info, 0, sizeof(info));
+       clear_siginfo(&info);
        info.si_signo = SIGFPE;
        info.si_code = si_code;
        info.si_addr = (void __user *)instruction_pointer(regs);