lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC PATCH v1 09/70] x86, mce_amd: _FROZEN Cleanup
    Date
    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


    \
     
     \ /
      Last update: 2014-07-23 05:21    [W:4.045 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site