Messages in this thread |  | | Date | Tue, 23 Jun 2009 16:47:49 +0200 | Subject | Re: 2.6.30-git(16 and 17) system hangs after resume from suspend to disk, mce related? | From | Maciej Rutecki <> |
| |
2009/6/23 Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>:
> > Maciej, could you try this patch?
Tested in 2 systems (for 17 and 30 minutes). Works without any problems. Thanks for patch!
> > === > [PATCH] x86: Fix mce resume on 32bit > > Calling mcheck_init() on resume is required only with CONFIG_X86_OLD_MCE=y. > > Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> > --- > arch/x86/power/cpu.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/power/cpu.c b/arch/x86/power/cpu.c > index d277ef1..b3d20b9 100644 > --- a/arch/x86/power/cpu.c > +++ b/arch/x86/power/cpu.c > @@ -244,7 +244,7 @@ static void __restore_processor_state(struct saved_context *ctxt) > do_fpu_end(); > mtrr_ap_init(); > > -#ifdef CONFIG_X86_32 > +#ifdef CONFIG_X86_OLD_MCE > mcheck_init(&boot_cpu_data); > #endif > }
Tested-by Maciej Rutecki <maciej.rutecki@gmail.com>
-- Maciej Rutecki http://www.maciek.unixy.pl -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |