X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2Fbitmap.c;h=e3c9e999501e43f8ae0a66876c869c45bdaaf923;hb=7f184275aa306046fe7edcbef3229754f0d97402;hp=41baf02924e64cc926ef3b2560a8f02c76c1bbf0;hpb=c0880dcded3ffe77700184e9d96c110ce0094c11;p=mv-sheeva.git diff --git a/lib/bitmap.c b/lib/bitmap.c index 41baf02924e..e3c9e999501 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -271,8 +271,6 @@ int __bitmap_weight(const unsigned long *bitmap, int bits) } EXPORT_SYMBOL(__bitmap_weight); -#define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) % BITS_PER_LONG)) - void bitmap_set(unsigned long *map, int start, int nr) { unsigned long *p = map + BIT_WORD(start); @@ -572,7 +570,7 @@ EXPORT_SYMBOL(bitmap_scnlistprintf); /** * __bitmap_parselist - convert list format ASCII string to bitmap - * @bp: read nul-terminated user string from this buffer + * @buf: read nul-terminated user string from this buffer * @buflen: buffer size in bytes. If string is smaller than this * then it must be terminated with a \0. * @is_user: location of buffer, 0 indicates kernel space