ia64: Fix resource assignment for root busses
authorMatthew Wilcox <willy@linux.intel.com>
Wed, 17 Jun 2009 20:33:36 +0000 (16:33 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 21:04:42 +0000 (14:04 -0700)
commit1d89b30cc9be41af87881682ec82e2c107849dbe
tree1cbd30856ca7158f7c6906330ebe58cc55aa9b2d
parenta76117dfd687ec4be0a9a05214f3009cc5f73a42
ia64: Fix resource assignment for root busses

ia64 was assigning resources to root busses after allocations had
been made for child busses.  Calling pcibios_setup_root_windows() from
pcibios_fixup_bus() solves this problem by assigning the resources to
the root bus before child busses are scanned.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Tested-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/pci/pci.c