Messages in this thread Patch in this message | | | From | "Chen, Gong" <> | Subject | [RFC PATCH v1 09/70] x86, mce_amd: _FROZEN Cleanup | Date | Tue, 22 Jul 2014 21:58:45 -0400 |
| |
Remove XXX_FROZEN state from x86/mce_amd.
Signed-off-by: Chen, Gong <gong.chen@linux.intel.com> --- arch/x86/kernel/cpu/mcheck/mce_amd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd.c b/arch/x86/kernel/cpu/mcheck/mce_amd.c index 603df4f..cc57f13 100644 --- a/arch/x86/kernel/cpu/mcheck/mce_amd.c +++ b/arch/x86/kernel/cpu/mcheck/mce_amd.c @@ -737,13 +737,11 @@ static void threshold_remove_device(unsigned int cpu) static void amd_64_threshold_cpu_callback(unsigned long action, unsigned int cpu) { - switch (action) { + switch (action & ~CPU_TASKS_FROZEN) { case CPU_ONLINE: - case CPU_ONLINE_FROZEN: threshold_create_device(cpu); break; case CPU_DEAD: - case CPU_DEAD_FROZEN: threshold_remove_device(cpu); break; default: -- 2.0.0.rc2
| |