diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-11-26 14:17:00 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-27 07:04:07 -0500 |
commit | c2c631e318091118587f3b766347d259c9265b8b (patch) | |
tree | bceb6609d5fe8bc9b9c957c75b4d398b80b6ad94 /arch/x86/kernel/entry_64.S | |
parent | 33454539f386a2beb38269bea5fff82b3d56b0e9 (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>
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | 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 1c309d546518..0a910a7f85f5 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -1160,7 +1160,7 @@ ENTRY(kernel_thread) | |||
1160 | CFI_ENDPROC | 1160 | CFI_ENDPROC |
1161 | END(kernel_thread) | 1161 | END(kernel_thread) |
1162 | 1162 | ||
1163 | child_rip: | 1163 | ENTRY(child_rip) |
1164 | pushq $0 # fake return address | 1164 | pushq $0 # fake return address |
1165 | CFI_STARTPROC | 1165 | CFI_STARTPROC |
1166 | /* | 1166 | /* |