]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
alpha: nautilus - fix hang on boot
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Thu, 15 Jan 2009 21:51:18 +0000 (13:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Jan 2009 00:39:40 +0000 (16:39 -0800)
commit2f88d151cb8e73587983d7feccd70672ff6730fe
treebb5e134c5d3a3b056e262636015e9d1a44d2a246
parent70b66cbfd3316b792a855cb9a2574e85f1a63d0f
alpha: nautilus - fix hang on boot

Recently introduced generic pci_common_swizzle() relies on bus->self
being NULL for the root PCI bus. But on nautilus bus->self points to
the host bridge device, which is necessary as we do a root bus sizing
on this system. As a result, pci_common_swizzle() loops infinitely.
This worked until 2.6.29-rc1 because the alpha-specific swizzle routine
checked for bus->parent == NULL (instead of bus->self).

Fixed by clearing bus->self after bus sizing is done.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/sys_nautilus.c