memory-failure: use num_poisoned_pages instead of mce_bad_pages
authorXishi Qiu <qiuxishi@huawei.com>
Sat, 23 Feb 2013 00:34:02 +0000 (16:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:15 +0000 (17:50 -0800)
commit293c07e31ab5a0b8df8c19b2a9e5c6fa30308849
tree753affc0e179b7de49c03dc58d7d75f34ffe4e62
parentfa8dd8a92dccc1b29cefd7f51334285d6ed35281
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.

[akpm@linux-foundation.org: fix mm/sparse.c]
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/meminfo.c
include/linux/mm.h
mm/memory-failure.c
mm/sparse.c