]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory-failure: use num_poisoned_pages instead of mce_bad_pages
authorXishi Qiu <qiuxishi@huawei.com>
Wed, 20 Feb 2013 02:14:32 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:41 +0000 (16:52 +1100)
commit4098574cb87b774ef5891029d3be323a3aef6edd
tree23e4827f13ac45d5af70c0e4596b7e0769bade8a
parent6354c5677368ffc60047cbc00f2c379c86a1d14e
memory-failure: use num_poisoned_pages instead of mce_bad_pages

Since MCE is an x86 concept, and this code is in mm/, it would be better
to use the name num_poisoned_pages instead of mce_bad_pages.

Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Suggested-by: Borislav Petkov <bp@alien8.de>
Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/meminfo.c
include/linux/mm.h
mm/memory-failure.c