Skip to content
Commit 990995ba authored by Tan Xiaojun's avatar Tan Xiaojun Committed by Borislav Petkov
Browse files

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: default avatarTan 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: default avatarBorislav Petkov <bp@suse.de>
parent 941fd2e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment