]> err.no Git - linux-2.6/commit
[S390] is_power_of_2 in drivers/s390/block/dasd_int.h
authorvignesh babu <vignesh.babu@wipro.com>
Fri, 12 Oct 2007 14:11:39 +0000 (16:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 Oct 2007 14:13:07 +0000 (16:13 +0200)
commite108cebb21316714de43767e242316c784471740
tree2f9a761570437a6d7ed05735c0622c9179613548
parentb18a2db416088ad54a4bfb59c0b932be383aee83
[S390] is_power_of_2 in drivers/s390/block/dasd_int.h

Replacing n & (n - 1) for power of 2 check by is_power_of_2(n)

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/block/dasd_int.h