Re: [PATCH 1/5] x86: entry_64.S - use ENTRY to define child_rip

From: Alexander van Heukelum
Date: Thu Nov 27 2008 - 05:56:31 EST



On Wed, 26 Nov 2008 22:17:00 +0300, gorcunov@xxxxxxxxx said:
> From: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
>
> child_rip is called not by its name but indirectly
> rather so make it global and aligned.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
> ---
> 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 64688db..098ba0b 100644
> --- a/arch/x86/kernel/entry_64.S
> +++ b/arch/x86/kernel/entry_64.S
> @@ -1322,7 +1322,7 @@ ENTRY(kernel_thread)
> CFI_ENDPROC
> END(kernel_thread)
>
> -child_rip:
> +ENTRY(child_rip)
> pushq $0 # fake return address
> CFI_STARTPROC
> /*

Acked-by: Alexander van Heukelum <heukelum@xxxxxxxxxxx>

> 1.6.0.4.603.gbc9c0
>
--
Alexander van Heukelum
heukelum@xxxxxxxxxxx

--
http://www.fastmail.fm - Accessible with your email software
or over the web

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/