]> git.openfabrics.org - ~emulex/infiniband.git/commit
powerpc: Fix comment typos in arch/powerpc/include/asm/bitops.h
authorBoqun Feng <boqun.feng@linux.vnet.ibm.com>
Tue, 11 Nov 2014 04:50:22 +0000 (12:50 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 12 Nov 2014 05:31:46 +0000 (16:31 +1100)
commite7a7a65ed2e90c41341aafef9458d0aa8143a558
tree641182d1e32acabf10acb7523b9628d746ab0381
parent7048c846949ac1feb09d1b624ea0e8c351d92a7b
powerpc: Fix comment typos in arch/powerpc/include/asm/bitops.h

In arch/powerpc/include/asm/bitops.h, the comments about bit numbers in
large (> 1 word) bitmaps have two typos:
- On ppc64 system, the LSB of the 4th word should be bit 192 rather than
  196, because if it's bit 196, bit 192-195 will be missing in the
  bitmap.
- On ppc32 system, the LSB of the second word should be bit 32 rather
  than 31, because bit 31 is already in the first word.

This patch fixes these typos.

Signed-off-by: Boqun Feng <boqun.feng@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/bitops.h