Mark arguments to certain syscalls as being const
[deliverable/linux.git] / arch / powerpc / kernel / sys_ppc32.c
index 19471a1cef1a23766107c0c60e1d0048e2efe0d7..20fd701a686adfeffc10e718c078f074eab92eaa 100644 (file)
@@ -546,7 +546,7 @@ compat_ssize_t compat_sys_pread64(unsigned int fd, char __user *ubuf, compat_siz
        return sys_pread64(fd, ubuf, count, ((loff_t)poshi << 32) | poslo);
 }
 
-compat_ssize_t compat_sys_pwrite64(unsigned int fd, char __user *ubuf, compat_size_t count,
+compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count,
                              u32 reg6, u32 poshi, u32 poslo)
 {
        return sys_pwrite64(fd, ubuf, count, ((loff_t)poshi << 32) | poslo);
This page took 0.024461 seconds and 5 git commands to generate.