EDAC: Fix PAGES_TO_MiB macro misuse
authorTan Xiaojun <tanxiaojun@huawei.com>
Tue, 20 Oct 2015 11:45:38 +0000 (19:45 +0800)
committerBorislav Petkov <bp@suse.de>
Thu, 22 Oct 2015 20:57:30 +0000 (22:57 +0200)
commit990995bad13c2bcf074f87236d1a6c5e09bd5eff
treed2163335273edf273ec416d0107373614a10ffb4
parent941fd2e7096495c05d693efcd3141e4e79a51ff6
EDAC: Fix PAGES_TO_MiB macro misuse

The PAGES_TO_MiB macro is used for unit conversion but the
trace_mc_event() tracepoint expects a page address. Fix that.

Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1445341538-24271-1-git-send-email-tanxiaojun@huawei.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/edac_mc.c
drivers/edac/ghes_edac.c