[IA64] pci_acpi_scan_root cleanup
authorLuck, Tony <tony.luck@intel.com>
Fri, 15 Aug 2008 22:37:48 +0000 (15:37 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 18 Aug 2008 22:41:21 +0000 (15:41 -0700)
commit8a20fd52c663b1796e1f01c0fa21d9b24c2936b6
treecef69a7c5117c3ddd0d9cf75d89232ce78f1eee4
parent97653f92c004d322ef27edb168a1b5f31142c6dc
[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 <tony.luck@intel.com>
arch/ia64/pci/pci.c