aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-11-26 22:17:00 +0300
committerIngo Molnar <mingo@elte.hu>2008-11-27 13:04:07 +0100
commitc2c631e318091118587f3b766347d259c9265b8b (patch)
treebceb6609d5fe8bc9b9c957c75b4d398b80b6ad94
parent33454539f386a2beb38269bea5fff82b3d56b0e9 (diff)
x86: entry_64.S - use ENTRY to define child_rip
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>
-rw-r--r--arch/x86/kernel/entry_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index 1c309d54651..0a910a7f85f 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -1160,7 +1160,7 @@ ENTRY(kernel_thread)
CFI_ENDPROC
END(kernel_thread)
-child_rip:
+ENTRY(child_rip)
pushq $0 # fake return address
CFI_STARTPROC
/*