diff options
| author | Anton Blanchard <anton@samba.org> | 2004-09-13 00:05:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-13 00:05:18 -0700 |
| commit | 2d3399ab54c9763fcba314d0b33ab82e1580d7aa (patch) | |
| tree | ca03be5ae2aa85daed645aa65bf4d402b0ff51f4 /include/linux/timer.h | |
| parent | b48e213e8d730e898cf0b3945ecaf21185f27fee (diff) | |
[PATCH] Clean up compat sched affinity syscalls
Remove the set_fs hack in the compat affinity calls. Create
sched_getaffinity and sched_setaffinity helper functions that both the
native and compat affinity syscalls use.
Also make the compat functions match what the native ones are doing now,
setaffinity calls succeed no matter what length the bitmask is, but
getaffinity calls must pass in bitmasks at least as long as the kernel
type.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions
