Skip to content

Commit

Permalink
x86: entry_64.S - use ENTRY to define child_rip
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Nov 27, 2008
1 parent 3345453 commit c2c631e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/entry_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ ENTRY(kernel_thread)
CFI_ENDPROC
END(kernel_thread)

child_rip:
ENTRY(child_rip)
pushq $0 # fake return address
CFI_STARTPROC
/*
Expand Down

0 comments on commit c2c631e

Please sign in to comment.