Browse Source

x86 mce_64.c: make struct mcelog static

This patch makes the needlessly global struct mcelog static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Adrian Bunk 17 years ago
parent
commit
231fd906c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/kernel/cpu/mcheck/mce_64.c

+ 1 - 1
arch/x86/kernel/cpu/mcheck/mce_64.c

@@ -63,7 +63,7 @@ static DECLARE_WAIT_QUEUE_HEAD(mce_wait);
  * separate MCEs from kernel messages to avoid bogus bug reports.
  */
 
-struct mce_log mcelog = {
+static struct mce_log mcelog = {
 	MCE_LOG_SIGNATURE,
 	MCE_LOG_LEN,
 };