]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: fix compat cpu affinity on big endian 64bit
authorAnton Blanchard <anton@samba.org>
Wed, 8 Sep 2004 00:47:32 +0000 (17:47 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 8 Sep 2004 00:47:32 +0000 (17:47 -0700)
commit7292f3aa0d2cf322f44481b868f663c2823ce59d
tree979f561c9a0acc9f314e15ef14e5dc6ab434e227
parent43c8585cd65eae4c9684f714a6a544f0afd9d739
[PATCH] ppc64: fix compat cpu affinity on big endian 64bit

Add compat sched affinity code.  We can argue about how
USE_COMPAT_ULONG_CPUMASK works now that the non compat interface has
changed.

The old non compat behaviour was to require a bitmap long enough in both
setaffinity and getaffinity, now its only required in getaffinity.  I could
do the same for the 32bit interfaces.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/compat.c