X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fcompat.c;h=d4898aad6cfa72ff46d78a8728c5d005531a338a;hb=fca178c0c6e8d52a1875be36b070f30884ebfae9;hp=75573e5d27b05c92dd1a11aaf483415935032624;hpb=12e36b2f41b6cbc67386fcb9c59c32a3e2033905;p=linux-2.6 diff --git a/kernel/compat.c b/kernel/compat.c index 75573e5d27..d4898aad6c 100644 --- a/kernel/compat.c +++ b/kernel/compat.c @@ -678,7 +678,7 @@ int get_compat_sigevent(struct sigevent *event, ? -EFAULT : 0; } -long compat_get_bitmap(unsigned long *mask, compat_ulong_t __user *umask, +long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, unsigned long bitmap_size) { int i, j;