PCI: fix bridge I/O window bus-to-resource conversion
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Mar 2012 23:47:59 +0000 (17:47 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 20 Mar 2012 17:41:27 +0000 (10:41 -0700)
In 5bfa14ed9f3c, I forgot to initialize res2.flags before calling
pcibios_bus_to_resource(), which depends on the resource type to locate the
correct aperture.  This bug won't hurt x86, which currently never has an
offset between bus and CPU addresses, but will affect other architectures.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found