@@ -522,17 +522,18 @@ static inline void bitmap_replace(unsigned long *dst,
522
522
*
523
523
* (Bits 0, 1, 2, 3, 4, 5 are copied to the bits 0, 1, 4, 8, 9, 12)
524
524
*
525
- * A more 'visual' description of the operation:
526
- * src: 0000000001011010
527
- * ||||||
528
- * +------+|||||
529
- * | +----+||||
530
- * | |+----+|||
531
- * | || +-+||
532
- * | || | ||
533
- * mask: ...v..vv...v..vv
534
- * ...0..11...0..10
535
- * dst: 0000001100000010
525
+ * A more 'visual' description of the operation::
526
+ *
527
+ * src: 0000000001011010
528
+ * ||||||
529
+ * +------+|||||
530
+ * | +----+||||
531
+ * | |+----+|||
532
+ * | || +-+||
533
+ * | || | ||
534
+ * mask: ...v..vv...v..vv
535
+ * ...0..11...0..10
536
+ * dst: 0000001100000010
536
537
*
537
538
* A relationship exists between bitmap_scatter() and bitmap_gather().
538
539
* bitmap_gather() can be seen as the 'reverse' bitmap_scatter() operation.
@@ -568,16 +569,17 @@ static inline void bitmap_scatter(unsigned long *dst, const unsigned long *src,
568
569
*
569
570
* (Bits 0, 1, 4, 8, 9, 12 are copied to the bits 0, 1, 2, 3, 4, 5)
570
571
*
571
- * A more 'visual' description of the operation:
572
- * mask: ...v..vv...v..vv
573
- * src: 0000001100000010
574
- * ^ ^^ ^ 0
575
- * | || | 10
576
- * | || > 010
577
- * | |+--> 1010
578
- * | +--> 11010
579
- * +----> 011010
580
- * dst: 0000000000011010
572
+ * A more 'visual' description of the operation::
573
+ *
574
+ * mask: ...v..vv...v..vv
575
+ * src: 0000001100000010
576
+ * ^ ^^ ^ 0
577
+ * | || | 10
578
+ * | || > 010
579
+ * | |+--> 1010
580
+ * | +--> 11010
581
+ * +----> 011010
582
+ * dst: 0000000000011010
581
583
*
582
584
* A relationship exists between bitmap_gather() and bitmap_scatter(). See
583
585
* bitmap_scatter() for the bitmap scatter detailed operations.
0 commit comments