linux/drivers/misc/sgi-gru
Robin Holt 8275d102f8 ia64: fix panic during `modprobe -r xpc'
If you are on ia64 and you modprobe xpc then modprobe -r xpc, you
immediately get a panic.  xpc depends on xp which depends on gru for a
symbol.  That symbol is only used when we are running on UV hardware.

Currently, the GRU driver detects we are not on UV hardware and does no
initializing.  It does not do the same check when unloading.  As a result,
the gru driver attempts to tear down stuff that was not setup.

This is a simple two-line workaround to get us through this release.  Once
2.6.28 is opened, we need to rework the symbols that xp is depending on
from gru so the gru driver can properly fail to load when hardware is not
available.

Signed-off-by: Robin Holt <holt@sgi.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-09-13 14:41:52 -07:00
..
gru_instructions.h GRU Driver V3: fixes to resolve code review comments 2008-07-30 09:41:48 -07:00
gru.h GRU Driver: driver internal header files 2008-07-30 09:41:47 -07:00
grufault.c GRU Driver: page faults & exceptions 2008-07-30 09:41:48 -07:00
grufile.c ia64: fix panic during `modprobe -r xpc' 2008-09-13 14:41:52 -07:00
gruhandles.h GRU Driver: hardware data structures 2008-07-30 09:41:47 -07:00
grukservices.c GRU Driver V3: fixes to resolve code review comments 2008-07-30 09:41:48 -07:00
grukservices.h GRU Driver: kernel services header files 2008-07-30 09:41:47 -07:00
grulib.h GRU Driver: driver internal header files 2008-07-30 09:41:47 -07:00
grumain.c GRU Driver V3: fixes to resolve code review comments 2008-07-30 09:41:48 -07:00
gruprocfs.c GRU Driver V3: fixes to resolve code review comments 2008-07-30 09:41:48 -07:00
grutables.h GRU: fix preprocessor symbol for sparse 2008-08-12 16:07:29 -07:00
grutlbpurge.c drivers/misc/sgi-gru/grutlbpurge.c: removed duplicated #include 2008-08-05 14:33:49 -07:00
Makefile GRU Driver: driver makefile 2008-07-30 09:41:48 -07:00