]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Refactor pbus_size_mem()
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 11 Sep 2012 22:59:46 +0000 (16:59 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Sep 2012 22:59:46 +0000 (16:59 -0600)
commit2dfd0a5878358d30fb080b371dd71c2e27eae58c
tree2e945763382aeee02afb2ea4f38636f2ef6288e3
parent7844e6a62898c62a89c61d1fe2feedf94cd672ac
PCI: Refactor pbus_size_mem()

The original idea comes from Ram Pai.  This patch puts the chunk of
code for calculating the minimal alignment of memory window into a
separate inline function.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c