summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/kernel/fpu-ucf64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/kernel/fpu-ucf64.c')
-rw-r--r--arch/unicore32/kernel/fpu-ucf64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/unicore32/kernel/fpu-ucf64.c b/arch/unicore32/kernel/fpu-ucf64.c
index 12c8c9527b8e..d785955e1c29 100644
--- a/arch/unicore32/kernel/fpu-ucf64.c
+++ b/arch/unicore32/kernel/fpu-ucf64.c
@@ -56,7 +56,7 @@ void ucf64_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
{
siginfo_t info;
- memset(&info, 0, sizeof(info));
+ clear_siginfo(&info);
info.si_signo = SIGFPE;
info.si_code = sicode;