is_power_of_2 in fs/block_dev.c
authorVignesh Babu BM <vignesh.babu@wipro.com>
Tue, 8 May 2007 07:24:32 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:59 +0000 (11:14 -0700)
commit1368c4f2482c9e06bcb297217433818b171cc9e3
tree0b9da8f7841e370cb44de9504843591a223b8c1d
parente1b5c1d3da05c91129120d045dfcdfc7761f44f1
is_power_of_2 in fs/block_dev.c

Replace (n & (n-1)) in the context of power of 2 checks with is_power_of_2

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/block_dev.c