Re: resume crashes in intel_init_thermal [was: mmotm 2009-11-13-19-59uploaded]

From: Jiri Slaby
Date: Sat Nov 14 2009 - 13:44:48 EST


On 11/14/2009 05:15 PM, Andrew Morton wrote:
> Revert
>
> : commit ce6b5d768c79b9d5dd6345c033bae781d5ca9b8e
> : Author: Yong Wang <yong.y.wang@xxxxxxxxxxxxxxx>
> : AuthorDate: Wed Nov 11 15:51:25 2009 +0800
> : Commit: Ingo Molnar <mingo@xxxxxxx>
> : CommitDate: Wed Nov 11 12:33:32 2009 +0100
> :
> : x86: Mark the thermal init functions __init
>
> because intel_init_thermal() is called from mce_intel_feature_init() at
> resume time, and we'd like its text to still be in memory when that
> happens.

Works for me. Thanks.

--
js
Faculty of Informatics, Masaryk University
Suse Labs, Novell
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/