]> Pileus Git - ~andy/linux/blobdiff - arch/ia64/kernel/signal.c
constify copy_siginfo_to_user{,32}()
[~andy/linux] / arch / ia64 / kernel / signal.c
index 3637e03d228217517d04e9c97c55a9077ea28f89..33cab9a8adffa029e4905a151163580d6b657c18 100644 (file)
@@ -105,7 +105,7 @@ restore_sigcontext (struct sigcontext __user *sc, struct sigscratch *scr)
 }
 
 int
-copy_siginfo_to_user (siginfo_t __user *to, siginfo_t *from)
+copy_siginfo_to_user (siginfo_t __user *to, const siginfo_t *from)
 {
        if (!access_ok(VERIFY_WRITE, to, sizeof(siginfo_t)))
                return -EFAULT;