projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TCP]: Congestion control API update.
[powerpc.git]
/
lib
/
bitmap.c
diff --git
a/lib/bitmap.c
b/lib/bitmap.c
index
037fa9a
..
26ebafa
100644
(file)
--- a/
lib/bitmap.c
+++ b/
lib/bitmap.c
@@
-95,12
+95,12
@@
void __bitmap_complement(unsigned long *dst, const unsigned long *src, int bits)
}
EXPORT_SYMBOL(__bitmap_complement);
}
EXPORT_SYMBOL(__bitmap_complement);
-/*
+/*
*
* __bitmap_shift_right - logical right shift of the bits in a bitmap
* __bitmap_shift_right - logical right shift of the bits in a bitmap
- * @dst
-
destination bitmap
- * @src
-
source bitmap
- * @
nbits -
shift by this many bits
- * @bits
-
bitmap size, in bits
+ * @dst
:
destination bitmap
+ * @src
:
source bitmap
+ * @
shift :
shift by this many bits
+ * @bits
:
bitmap size, in bits
*
* Shifting right (dividing) means moving bits in the MS -> LS bit
* direction. Zeros are fed into the vacated MS positions and the
*
* Shifting right (dividing) means moving bits in the MS -> LS bit
* direction. Zeros are fed into the vacated MS positions and the
@@
-139,12
+139,12
@@
void __bitmap_shift_right(unsigned long *dst,
EXPORT_SYMBOL(__bitmap_shift_right);
EXPORT_SYMBOL(__bitmap_shift_right);
-/*
+/*
*
* __bitmap_shift_left - logical left shift of the bits in a bitmap
* __bitmap_shift_left - logical left shift of the bits in a bitmap
- * @dst
-
destination bitmap
- * @src
-
source bitmap
- * @
nbits -
shift by this many bits
- * @bits
-
bitmap size, in bits
+ * @dst
:
destination bitmap
+ * @src
:
source bitmap
+ * @
shift :
shift by this many bits
+ * @bits
:
bitmap size, in bits
*
* Shifting left (multiplying) means moving bits in the LS -> MS
* direction. Zeros are fed into the vacated LS bit positions
*
* Shifting left (multiplying) means moving bits in the LS -> MS
* direction. Zeros are fed into the vacated LS bit positions
@@
-529,7
+529,7
@@
int bitmap_parselist(const char *bp, unsigned long *maskp, int nmaskbits)
}
EXPORT_SYMBOL(bitmap_parselist);
}
EXPORT_SYMBOL(bitmap_parselist);
-/*
+/*
*
* bitmap_pos_to_ord(buf, pos, bits)
* @buf: pointer to a bitmap
* @pos: a bit position in @buf (0 <= @pos < @bits)
* bitmap_pos_to_ord(buf, pos, bits)
* @buf: pointer to a bitmap
* @pos: a bit position in @buf (0 <= @pos < @bits)
@@
-804,7
+804,7
@@
EXPORT_SYMBOL(bitmap_find_free_region);
* @pos: beginning of bit region to release
* @order: region size (log base 2 of number of bits) to release
*
* @pos: beginning of bit region to release
* @order: region size (log base 2 of number of bits) to release
*
- * This is the complement to __bitmap_find_free_region and releases
+ * This is the complement to __bitmap_find_free_region
()
and releases
* the found region (by clearing it in the bitmap).
*
* No return value.
* the found region (by clearing it in the bitmap).
*
* No return value.