aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-30 13:30:30 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:30:30 +0100
commit231fd906c5e71219bbc32618a8ed8b439d5dde98 (patch)
tree1d495665ce31c231e768b83cb3ad80f6b044aabd /arch/x86/kernel/cpu
parentx86: io_apic_64.c: remove unused config check (diff)
downloadlinux-dev-231fd906c5e71219bbc32618a8ed8b439d5dde98.tar.xz
linux-dev-231fd906c5e71219bbc32618a8ed8b439d5dde98.zip
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>
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_64.c b/arch/x86/kernel/cpu/mcheck/mce_64.c
index 242e8668dbeb..8ef6a6bfd112 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_64.c
+++ b/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,
};