summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-13 23:23:53 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 06:16:29 +0100
commitce3959604878c1c693979ec552069dc8bdb5ccde (patch)
tree8f7250df92eacb55747fc8bce69f0c92e8940086 /arch/ia64/kernel/signal.c
parent... and kill anon_inode_getfile_private() (diff)
downloadlinux-ce3959604878c1c693979ec552069dc8bdb5ccde.tar.xz
linux-ce3959604878c1c693979ec552069dc8bdb5ccde.zip
constify copy_siginfo_to_user{,32}()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ia64/kernel/signal.c')
-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)
}
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;