]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix wrong /proc/iomem on SGI Altix
authorBernhard Walle <bwalle@suse.de>
Sun, 18 Mar 2007 09:26:08 +0000 (01:26 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 18 Mar 2007 18:35:07 +0000 (11:35 -0700)
commit647157255915b76ddfbea87ca396ace364d158c5
treee248f2e89ccb8526b615214db06c4868cdd8d589
parent4f78bb289f4ca57b93385b4df4d0defe5804588b
[PATCH] 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>
Cc: John Keller <jpk@sgi.com>
Cc: Jay Lan <jlan@engr.sgi.com>
Acked-by: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/sn/kernel/io_init.c