[IA64] SGI Altix : fix bug in sn_io_late_init()
authorMike Habeck <habeck@sgi.com>
Mon, 26 Nov 2007 17:19:57 +0000 (11:19 -0600)
committerTony Luck <tony.luck@intel.com>
Sat, 8 Dec 2007 00:11:37 +0000 (16:11 -0800)
commitafc2cf35b43ca58bd73b86b2f72af8b9bdb67ab8
tree7f89e7dbcc3b5cfe4dbb881e159b9ecaa4634164
parent9e004ebd2dab980d663784d096aa6dc449225bd8
[IA64] SGI Altix : fix bug in sn_io_late_init()

When initializing pci_controller->node to point to the closest node we need
to take into consideration that a PIC PCI Bridge ASIC can be connected to a
headless/memless node just like the TIOCP and TIOCE Bridge ASICs

Signed-off-by: Mike Habeck <habeck@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/io_common.c