[IA64]: SN fix bus->sysdata pointer and memory cleanups
authorPrarit Bhargava <prarit@sgi.com>
Tue, 2 Aug 2005 17:08:00 +0000 (10:08 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 16 Aug 2005 22:24:48 +0000 (15:24 -0700)
commitc1ffb910f7a4e1e79d462bb359067d97ad1a8a25
treedcf395e9526f0c3bf56fb4fe4bed1586126fda3f
parent12aaa0855b39b5464db953fedf399fa91ee365ed
[IA64]: SN fix bus->sysdata pointer and memory cleanups

The main issue is that bus_fixup calls may potentially call
functions that require a valid bus->sysdata pointer.  Since
this is the case, we must set the bus->sysdata pointer before
calling the bus_fixup functions.  The remaining changes are
simple fixes to make sure memory is cleaned up in the function.

Signed-off-by: Prarit Bhargava <prarit@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/io_init.c