Skip to contentSkip to conversation

x86 mce_64.c: make struct mcelog static

PATCH New Adrian Bunk 1 participant 1 message Nov 9, 2007 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86 mce_64.c: make struct mcelog static

This patch makes the needlessly global struct mcelog static.

---
d4c45993fc617ff0f56e3280fcccb7159b31e9e8

arch/x86/kernel/cpu/mcheck/mce_64.c +1 -1
index b9f802e..986bf15 100644
@@ -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,
 };