[PATCH] cpumask: bitmap cleanup preparation for cpumask overhaul
authorAndrew Morton <akpm@osdl.org>
Thu, 24 Jun 2004 01:50:40 +0000 (18:50 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 24 Jun 2004 01:50:40 +0000 (18:50 -0700)
commitea0c19290646e6bb7cd3657db83eac3a0d641418
tree78b737a8804f8c771423adcb5f4bbbc53d1a8fcc
parentd2cec97bc421d6f9c2ee0d9bd8e0ce47d0022cac
[PATCH] cpumask: bitmap cleanup preparation for cpumask overhaul

From: Paul Jackson <pj@sgi.com>

Document the bitmap bit model and handling of unused bits.

Tighten up bitmap so it does not generate nonzero bits in the unused tail if
it is not given any on input.

Add intersects, subset, xor and andnot operators.  Change bitmap_complement to
take two operands.

Add a couple of missing 'const' qualifiers on bitops test_bit and bitmap_equal
args.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/smpboot.c
include/asm-generic/bitops.h
include/asm-generic/cpumask_array.h
include/asm-i386/mpspec.h
include/asm-x86_64/mpspec.h
include/linux/bitmap.h
lib/bitmap.c
mm/mempolicy.c