[PATCH V4 1/3 RESEND] MCE: fix an error of mce_bad_pages statistics

2012-12-13 Thread Xishi Qiu
Move poisoned page check at the beginning of the function in order to fix the error. Signed-off-by: Xishi Qiu Signed-off-by: Jiang Liu Tested-by: Naoya Horiguchi --- mm/memory-failure.c | 38 +- 1 files changed, 17 insertions(+), 21 deletions(-) diff

[PATCH V4 1/3 RESEND] MCE: fix an error of mce_bad_pages statistics

2012-12-13 Thread Xishi Qiu
Move poisoned page check at the beginning of the function in order to fix the error. Signed-off-by: Xishi Qiu qiuxi...@huawei.com Signed-off-by: Jiang Liu jiang@huawei.com Tested-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com --- mm/memory-failure.c | 38