Commit 63302c4f authored by David S. Miller's avatar David S. Miller

Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5

into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
parents 5be2bc3c d084908c
......@@ -4336,7 +4336,7 @@ asmlinkage int sys32_sched_getaffinity(__kernel_pid_t32 pid, unsigned int len,
&kernel_mask);
set_fs(old_fs);
if (ret == 0) {
if (ret > 0) {
if (put_user(kernel_mask, user_mask_ptr))
ret = -EFAULT;
}
......
......@@ -9,6 +9,7 @@
#include <linux/config.h>
#include <asm/ptrace.h>
#include <asm/mbus.h>
#include <asm/uaccess.h>
/* For the most part we present code dumps in the format
* Solaris does.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment