]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi_memhotplug.c: don't allow to eject the memory device if it is being used
authorWen Congyang <wency@cn.fujitsu.com>
Fri, 7 Sep 2012 00:17:49 +0000 (10:17 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:03 +0000 (15:36 +1000)
commit2f16f8bef79a2540f1be5b1c99f5a1c0a520497f
treef2a5662598b47b2feac58bd4e9a57da5c0f8b315
parent28d5ee9b77d434d593c228b0051c7ac2f80fc025
acpi_memhotplug.c: don't allow to eject the memory device if it is being used

We eject the memory device even if it is in use.  It is very dangerous,
and it will cause the kernel to panic.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/acpi/acpi_memhotplug.c