[PARISC] Fix infinite loop in /proc/iomem
authorMatthew Wilcox <matthew@wil.cx>
Sun, 14 Oct 2007 14:13:31 +0000 (10:13 -0400)
committerKyle McMartin <kyle@shortfin.cabal.ca>
Thu, 18 Oct 2007 19:34:22 +0000 (12:34 -0700)
commit9611f61eb5baf22b6b6ed46c2c196c10e1fade6a
tree30bd8d782abc42a6f8b553f4c33bbba2dc8f9a31
parent26f0324922e50e0ef7677aaf96287b862c2fec61
[PARISC] Fix infinite loop in /proc/iomem

pcibios_link_hba_resources() could corrupt the resource tree by inserting
resources in the wrong place.  Fix this by calling pci_claim_resource()
for PCI-PCI bridges.  Delete pcibios_link_hba_resources as we shouldn't
need it any more.  Also get rid of lba_claim_dev_resources() and just
call pci_claim_resource() directly.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/kernel/pci.c
drivers/parisc/lba_pci.c