commit | c121504e899c19f7e25b4894f616475073876361 | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Tue Sep 11 16:59:46 2012 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Sep 11 16:59:46 2012 -0600 |
tree | 2e945763382aeee02afb2ea4f38636f2ef6288e3 | |
parent | 462d93030628a598bc440dcd35c89fb7fc63f58c [diff] |
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>