summaryrefslogtreecommitdiff
path: root/arch/i386/kernel/cpu/mcheck/mce.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-07-30 10:03:16 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-31 20:28:37 (GMT)
commita5ca63cb60892c1703998daf80d2d1b04cb70103 (patch)
tree9a265ce1ac462515aaa67c0f0c0424a37addc422 /arch/i386/kernel/cpu/mcheck/mce.h
parent31925c8857ba17c11129b766a980ff7c87780301 (diff)
downloadlinux-fsl-qoriq-a5ca63cb60892c1703998daf80d2d1b04cb70103.tar.xz
[PATCH] mce section fix
mce_disabled cannot be __initdata - we access it during APM resume. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/cpu/mcheck/mce.h')
-rw-r--r--arch/i386/kernel/cpu/mcheck/mce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/mcheck/mce.h b/arch/i386/kernel/cpu/mcheck/mce.h
index dc2416d..84fd4cf 100644
--- a/arch/i386/kernel/cpu/mcheck/mce.h
+++ b/arch/i386/kernel/cpu/mcheck/mce.h
@@ -9,6 +9,6 @@ void winchip_mcheck_init(struct cpuinfo_x86 *c);
/* Call the installed machine check handler for this CPU setup. */
extern fastcall void (*machine_check_vector)(struct pt_regs *, long error_code);
-extern int mce_disabled __initdata;
+extern int mce_disabled;
extern int nr_mce_banks;