lkml.org 
[lkml]   [2008]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/4] x86: Move NMI back to interrupt stack
    Date
    Now that interrupt stack switching is atomic, we can move the NMI handler
    to the interrupt stack.

    Signed-off-by: Avi Kivity <avi@redhat.com>
    ---
    arch/x86/kernel/entry_64.S | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
    index 61c54d9..3d45880 100644
    --- a/arch/x86/kernel/entry_64.S
    +++ b/arch/x86/kernel/entry_64.S
    @@ -1496,7 +1496,7 @@ ENTRY(nmi)
    /* paranoidentry do_nmi, 0; without TRACE_IRQS_OFF */
    movq %rsp,%rdi
    movq $-1,%rsi
    - call do_nmi
    + call_in_irqstack do_nmi
    #ifdef CONFIG_TRACE_IRQFLAGS
    /* paranoidexit; without TRACE_IRQS_OFF */
    /* ebx: no swapgs flag */
    --
    1.6.0.6


    \
     
     \ /
      Last update: 2008-12-26 15:25    [W:0.020 / U:1.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site