]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0be925e4ec089821cd81c32638aa61c2757104f
tree0b9da8f7841e370cb44de9504843591a223b8c1d
parent202655c34779098b2e7d37371991a43fd28d42e9
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