[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>
This commit is contained in:
committed by
Linus Torvalds
parent
31925c8857
commit
a5ca63cb60
@ -9,6 +9,6 @@ void winchip_mcheck_init(struct cpuinfo_x86 *c);
|
|||||||
/* Call the installed machine check handler for this CPU setup. */
|
/* Call the installed machine check handler for this CPU setup. */
|
||||||
extern fastcall void (*machine_check_vector)(struct pt_regs *, long error_code);
|
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;
|
extern int nr_mce_banks;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user