x86/mce: Rename mce_log to mce_log_buffer
authorBorislav Petkov <bp@suse.de>
Mon, 27 Mar 2017 09:33:01 +0000 (11:33 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 Mar 2017 06:54:42 +0000 (08:54 +0200)
commite64edfcce9c738300b4102d0739577d6ecc96d4a
treeb574e1be54d21a233cf65a17d4d44cea7d391ffc
parentfe3ed20fddfd8c6a4dcfb8e43de80f269d1f3f2a
x86/mce: Rename mce_log to mce_log_buffer

It is confusing when staring at "struct mce_log mcelog" and then there's
also a function called mce_log(). So call the buffer what it is.

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170327093304.10683-4-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce.c