]> git.kernelconcepts.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, 28 Sep 2012 00:18:49 +0000 (10:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 10 Oct 2012 03:56:25 +0000 (14:56 +1100)
commit351625cc593df7836ad75f7e2686e1fae858f8c8
tree2eef6e742db9427487a6e6064b939c967d50d538
parent4831613a3ff1e3e2325678b93ce21271784fb20e
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