[PATCH] Rename bitmap_clear to bitmap_zero, remove CLEAR_BITMAP
authorAndrew Morton <akpm@osdl.org>
Mon, 12 Apr 2004 08:03:29 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 12 Apr 2004 08:03:29 +0000 (01:03 -0700)
commit8447ac2688647d261af7a7397a53548a2a1afc13
tree037865f6ae88dc9a22fd0418870a714593ff16c8
parent6ab26f0a7443f4d4e2b13c31717088ad410cb64b
[PATCH] Rename bitmap_clear to bitmap_zero, remove CLEAR_BITMAP

From: Rusty Russell <rusty@rustcorp.com.au>

clear_bit(n, addr) clears the nth bit.
test_and_clear_bit(n, addr) clears the nth bit.
cpu_clear(n, cpumask) clears the nth bit (vs. cpus_clear()).
bitmap_clear(bitmap, n) clears out all the bits up to n.

Moreover, there's a CLEAR_BITMAP() in linux/types.h which bitmap_clear() is
a wrapper for.

Rename bitmap_clear to bitmap_zero, which is harder to confuse (yes, it bit
me), and make everyone use it.
arch/ia64/sn/kernel/sn2/sn2_smp.c
drivers/atm/lanai.c
drivers/ieee1394/ieee1394_types.h
drivers/scsi/atari_NCR5380.c
include/asm-generic/cpumask_array.h
include/asm-i386/mpspec.h
include/asm-x86_64/mpspec.h
include/linux/bitmap.h
include/linux/types.h
lib/bitmap.c
mm/page_alloc.c