]> 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, 12 Oct 2012 04:22:48 +0000 (15:22 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 22 Oct 2012 04:01:03 +0000 (15:01 +1100)
commit4213eb829cee40b9aaae7223c2488aa1294ef210
tree4c22ebfc9698d07c8cd8ae4525b53da22d6fd768
parent7b22e40606955d2cb7bb28b80926e344771faa52
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