From: Luck, Tony Date: Fri, 15 Aug 2008 22:37:48 +0000 (-0700) Subject: [IA64] pci_acpi_scan_root cleanup X-Git-Tag: v2.6.27-rc4~40^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a20fd52c663b1796e1f01c0fa21d9b24c2936b6;p=pandora-kernel.git [IA64] pci_acpi_scan_root cleanup The code walks all the acpi _CRS methods to see how many windows to allocate. It then scans them all again to insert_resource() for each *even if the first scan found that there were none*. Move the second scan inside the "if (windows)" clause. Signed-off-by: Tony Luck --- Reading git-diff-tree failed