31 Jul, 2012
1 commit
-
memweight() is the function that counts the total number of bits set in
memory area. Unlike bitmap_weight(), memweight() takes pointer and size
in bytes to specify a memory area which does not need to be aligned to
long-word boundary.[akpm@linux-foundation.org: rename `w' to `ret']
Signed-off-by: Akinobu Mita
Cc: Anders Larsen
Cc: Alasdair Kergon
Cc: Laurent Pinchart
Cc: Mark Fasheh
Cc: Joel Becker
Cc: Jan Kara
Cc: Andreas Dilger
Cc: "Theodore Ts'o"
Cc: Matthew Wilcox
Cc: Mauro Carvalho Chehab
Cc: Tony Luck
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds