lkml.org 
[lkml]   [2009]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] x86: consistent about warm_reset_vector for UN_NON_UNIQUE_APIC

    Impact: cleanup

    didn't set it for UV_NON_UNIQUE_APIC, so don't restore it

    Signed-off-by: Yinghai Lu <yinghai@kernel.org>

    ---
    arch/x86/kernel/smpboot.c | 10 ++++++----
    1 file changed, 6 insertions(+), 4 deletions(-)

    Index: linux-2.6/arch/x86/kernel/smpboot.c
    ===================================================================
    --- linux-2.6.orig/arch/x86/kernel/smpboot.c
    +++ linux-2.6/arch/x86/kernel/smpboot.c
    @@ -822,10 +822,12 @@ do_rest:
    /* mark "stuck" area as not stuck */
    *((volatile unsigned long *)trampoline_base) = 0;

    - /*
    - * Cleanup possible dangling ends...
    - */
    - smpboot_restore_warm_reset_vector();
    + if (get_uv_system_type() != UV_NON_UNIQUE_APIC) {
    + /*
    + * Cleanup possible dangling ends...
    + */
    + smpboot_restore_warm_reset_vector();
    + }

    return boot_error;
    }

    \
     
     \ /
      Last update: 2009-04-04 02:19    [W:0.033 / U:90.416 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site