lkml.org 
[lkml]   [2008]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/5] x86: entry_64.S - use ENTRY to define child_rip
    Date
    From: Cyrill Gorcunov <gorcunov@gmail.com>

    child_rip is called not by its name but indirectly
    rather so make it global and aligned.

    Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.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 64688db..098ba0b 100644
    --- a/arch/x86/kernel/entry_64.S
    +++ b/arch/x86/kernel/entry_64.S
    @@ -1322,7 +1322,7 @@ ENTRY(kernel_thread)
    CFI_ENDPROC
    END(kernel_thread)

    -child_rip:
    +ENTRY(child_rip)
    pushq $0 # fake return address
    CFI_STARTPROC
    /*
    --
    1.6.0.4.603.gbc9c0


    \
     
     \ /
      Last update: 2008-11-26 20:21    [W:0.022 / U:0.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site