]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: use memweight()
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 30 Jul 2012 21:41:03 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:16 +0000 (17:25 -0700)
commite076566b190e175feddee7d5ab137d6e93edcd96
treece929ce5fd0024483fa6ea3464e95e88a042d86c
parentfdb41bc0b2201b094e2c33ed15a82d4659462e43
ocfs2: use memweight()

Use memweight to count the total number of bits set in memory area.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/localalloc.c