X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=kernel%2Fcompat.c;h=e1ef04870c2a12122fddfd3a712ed6e6d2a441ea;hb=07d45da616f8514651360b502314fc9554223a03;hp=9c48abfcd4a528ced37ea31cc0315d03c7691e78;hpb=73e3e6481f56b3b5b618671a8d32b19a35f84316;p=linux-2.6-omap-h63xx.git diff --git a/kernel/compat.c b/kernel/compat.c index 9c48abfcd4a..e1ef04870c2 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,