[IA64] Fix wrong /proc/iomem on SGI Altix
authorBernhard Walle <bwalle@suse.de>
Wed, 14 Mar 2007 18:07:47 +0000 (19:07 +0100)
committerTony Luck <tony.luck@intel.com>
Tue, 20 Mar 2007 20:54:44 +0000 (13:54 -0700)
commit58a69c367c02a165004a5ce5dd55ce03b59ba43d
tree450e5d03a560f5124cb8b720652d17dabd139aa9
parent0bdfc1900705dadef6286d69de7da0feef841734
[IA64] Fix wrong /proc/iomem on SGI Altix

In sn_io_slot_fixup(), the parent is re-set from the bus to
io(port|mem)_resource because the address is changed in a way that it's not
child of the bus any more.

However, only the root is set but not the parent/child/sibling relationship in
the resource tree which causes 'cat /proc/iomem' to stop after this memory
area. Depding on the poition in the tree the iomem may be nearly completely
empty.

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Acked-by: John Keller <jpk@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/io_init.c