mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
x86/mce: Rename mce_log()'s argument
We call it everywhere "struct mce *m". Adjust that here too to avoid confusion. No functionality change. Signed-off-by: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
1 parent
4a96d1a5f0
commit
fe3ed20fdd
1 file changed
+4
-4
@@ -158,14 +158,14 @@ static struct mce_log mcelog = {
|
||||
.recordlen = sizeof(struct mce),
|
||||
};
|
||||
|
||||
void mce_log(struct mce *mce)
|
||||
void mce_log(struct mce *m)
|
||||
{
|
||||
unsigned next, entry;
|
||||
|
||||
/* Emit the trace record: */
|
||||
trace_mce_record(mce);
|
||||
trace_mce_record(m);
|
||||
|
||||
if (!mce_gen_pool_add(mce))
|
||||
if (!mce_gen_pool_add(m))
|
||||
irq_work_queue(&mce_irq_work);
|
||||
|
||||
wmb();
|
||||
@@ -195,7 +195,7 @@ void mce_log(struct mce *mce)
|
||||
if (cmpxchg(&mcelog.next, entry, next) == entry)
|
||||
break;
|
||||
}
|
||||
memcpy(mcelog.entry + entry, mce, sizeof(struct mce));
|
||||
memcpy(mcelog.entry + entry, m, sizeof(struct mce));
|
||||
wmb();
|
||||
mcelog.entry[entry].finished = 1;
|
||||
wmb();
|
||||
|
||||
Reference in new issue
Block a user