x86: entry_64.S - use ENTRY to define child_rip
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 26 Nov 2008 19:17:00 +0000 (22:17 +0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 27 Nov 2008 12:04:07 +0000 (13:04 +0100)
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>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S

index 1c309d5..0a910a7 100644 (file)
@@ -1160,7 +1160,7 @@ ENTRY(kernel_thread)
        CFI_ENDPROC
 END(kernel_thread)
 
-child_rip:
+ENTRY(child_rip)
        pushq $0                # fake return address
        CFI_STARTPROC
        /*