android_kernel_xiaomi_sm8350/drivers/misc
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
..
hdpuftrs hdpu_cpustate: BKL pushdown 2008-06-20 14:05:57 -06:00
ibmasm drivers/misc: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:03 -07:00
sgi-gru ia64: fix panic during `modprobe -r xpc' 2008-09-13 14:41:52 -07:00
sgi-xp sgi-xp: setup the notify GRU message queue 2008-07-30 09:41:50 -07:00
acer-wmi.c Merge branch 'wmi-fix' into release-2.6.27 2008-09-04 14:41:02 +02:00
asus-laptop.c
atmel_pwm.c atmel_pwm: set up only one PWM clock when allocating a clock 2008-07-24 10:47:25 -07:00
atmel_tclib.c
atmel-ssc.c drivers/misc/atmel-ssc.c: Removed duplicated include 2008-07-24 14:06:51 +02:00
compal-laptop.c compal-laptop: remove unnecessary lcd_level attribute 2008-07-16 23:27:01 +02:00
eeepc-laptop.c eeepc-laptop: fix use after free 2008-08-20 15:40:30 -07:00
eeprom_93cx6.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
enclosure.c
fujitsu-laptop.c fujitsu-laptop: fix regression for P8010 in 2.6.27-rc 2008-09-04 14:31:08 +02:00
hp-wmi.c hp-wmi: add proper hotkey support 2008-09-02 19:21:39 -07:00
hpilo.c HP iLO driver 2008-07-21 21:55:02 -07:00
hpilo.h HP iLO driver 2008-07-21 21:55:02 -07:00
intel_menlow.c intel_menlo: fix build warning 2008-04-29 12:24:24 -04:00
ioc4.c drivers/misc: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:03 -07:00
Kconfig [IA64] Fix uniprocessor build w.r.t. SGI_XP and SGI_GRU 2008-08-04 13:39:28 -07:00
kgdbts.c kgdbts: Use HW breakpoints with CONFIG_DEBUG_RODATA 2008-05-28 12:49:57 -05:00
lkdtm.c
Makefile GRU Driver: driver/misc Makefile & Kconfig changes 2008-07-30 09:41:48 -07:00
msi-laptop.c
phantom.c drivers/misc/phantom: note PCI 2008-07-25 10:53:44 -07:00
sony-laptop.c sony-laptop: BKL pushdown 2008-07-02 15:06:25 -06:00
tc1100-wmi.c
thinkpad_acpi.c ACPI: thinkpad-acpi: wan radio control is not experimental 2008-08-28 19:24:49 +02:00
tifm_7xx1.c
tifm_core.c