]> err.no Git - linux-2.6/commit
PCI: is_power_of_2 in drivers/pci/pci.c
authorvignesh babu <vignesh.babu@wipro.com>
Mon, 13 Aug 2007 12:53:14 +0000 (18:23 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 22:03:15 +0000 (15:03 -0700)
commit229f5afded86bf3819b7b67e57c62813ca0648a7
tree608b5b355cb36bc93da24772eedfdd4b0c19ac0e
parent40730d1042c595b1e84b28e40021f2c1377b4f8b
PCI: is_power_of_2 in drivers/pci/pci.c

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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c