aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/signal.c b/arch/ia64/kernel/signal.c
index 3637e03d2282..33cab9a8adff 100644
--- a/arch/ia64/kernel/signal.c
+++ b/arch/ia64/kernel/signal.c
@@ -105,7 +105,7 @@ restore_sigcontext (struct sigcontext __user *sc, struct sigscratch *scr)
105} 105}
106 106
107int 107int
108copy_siginfo_to_user (siginfo_t __user *to, siginfo_t *from) 108copy_siginfo_to_user (siginfo_t __user *to, const siginfo_t *from)
109{ 109{
110 if (!access_ok(VERIFY_WRITE, to, sizeof(siginfo_t))) 110 if (!access_ok(VERIFY_WRITE, to, sizeof(siginfo_t)))
111 return -EFAULT; 111 return -EFAULT;