[PATCH] cpuset: mempolicy one more nodemask conversion
authorPaul Jackson <pj@sgi.com>
Sun, 8 Jan 2006 09:01:47 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:42 +0000 (20:13 -0800)
commit5966514db662fb24c9bb43226a80106bcffd51f8
tree9c6d8f4f6fee0d6574de7e225141d37b28811dc3
parent96b7f34143c2c823a6a750fcb758fc66c44945d2
[PATCH] cpuset: mempolicy one more nodemask conversion

Finish converting mm/mempolicy.c from bitmaps to nodemasks.  The previous
conversion had left one routine using bitmaps, since it involved a
corresponding change to kernel/cpuset.c

Fix that interface by replacing with a simple macro that calls nodes_subset(),
or if !CONFIG_CPUSET, returns (1).

Signed-off-by: Paul Jackson <pj@sgi.com>
Cc: Christoph Lameter <christoph@lameter.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/cpuset.h
kernel/cpuset.c
mm/mempolicy.c