]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi_memhotplug.c: remove memory info from list before freeing it
authorWen Congyang <wency@cn.fujitsu.com>
Wed, 26 Sep 2012 01:32:59 +0000 (11:32 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 06:37:54 +0000 (16:37 +1000)
commitfd09b718d1066ff2907eac52d7f36d0945b6fe74
treef11892c2e84d10bcb3f52cd8f18c215a86fb6809
parent8c405c93532cd062c3e2f3585a7595deb5d18257
acpi_memhotplug.c: remove memory info from list before freeing it

We free info, but we forget to remove it from the list.  It will cause
unexpected problems when we access the list next time.

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