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)
commitc121504e899c19f7e25b4894f616475073876361
tree2e945763382aeee02afb2ea4f38636f2ef6288e3
parent462d93030628a598bc440dcd35c89fb7fc63f58c
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