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>
This commit is contained in:
Cyrill Gorcunov 2008-11-26 22:17:00 +03:00 committed by Ingo Molnar
parent 33454539f3
commit c2c631e318

View 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
/*