X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fcompat.c;h=e1ef04870c2a12122fddfd3a712ed6e6d2a441ea;hb=e65187e6d0d541f992e684f88a7e090dcff1aac8;hp=9c48abfcd4a528ced37ea31cc0315d03c7691e78;hpb=07fe944e87d79f8d7e1b090913fe9f2ace78f41d;p=linux-2.6 diff --git a/kernel/compat.c b/kernel/compat.c index 9c48abfcd4..e1ef04870c 100644 --- a/kernel/compat.c +++ b/kernel/compat.c @@ -445,7 +445,7 @@ asmlinkage long compat_sys_sched_setaffinity(compat_pid_t pid, if (retval) return retval; - return sched_setaffinity(pid, new_mask); + return sched_setaffinity(pid, &new_mask); } asmlinkage long compat_sys_sched_getaffinity(compat_pid_t pid, unsigned int len,