X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=kernel%2Fcompat.c;h=e1ef04870c2a12122fddfd3a712ed6e6d2a441ea;hb=700fe1ab99240c1a9c4d155e2a0612a1b044bb69;hp=9c48abfcd4a528ced37ea31cc0315d03c7691e78;hpb=188da98800893691e47eea9335a234378e32aceb;p=mv-sheeva.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,