From: Bjorn Helgaas Date: Fri, 16 Mar 2012 23:47:59 +0000 (-0600) Subject: PCI: fix bridge I/O window bus-to-resource conversion X-Git-Tag: v3.4-rc1~114^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf48fb6a2bf2e59990e1438d0dedc706df911996;p=pandora-kernel.git PCI: fix bridge I/O window bus-to-resource conversion 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed