]> 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>
Thu, 13 Sep 2012 00:58:16 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Sep 2012 06:04:07 +0000 (16:04 +1000)
commitd192f95cf4fea2c8c1784aeec963fab8cede078c
treeb7b4c876272b9952886044fa9e1c8703759e230c
parent9d2a39a152ac2715229a797417e3623874958ea5
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