Re: [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_cannotation

From: Alexander van Heukelum
Date: Tue Jun 30 2009 - 07:42:30 EST


Hi Mike,

I agree with the code, but I do have a remark...

The ENTRY() macro already includes the ALIGN, so you could get
rid of the preceding ALIGN. But it's just a neatness thing, because
two consecutive ALIGNS don't change the resulting binary.

At any rate:

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

(maybe the x86-committer feels comfortable enough to remove the ALIGN ;)
)

On Tue, 30 Jun 2009 12:54:00 +0200, "Mike Galbraith" <efault@xxxxxx>
said:
> x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation.
>
> Signed-off-by: Mike Galbraith <efault@xxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: Alexander van Heukelum <heukelum@xxxxxxxxxxxxx>
> Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
> LKML-Reference: <new-submission>
>
> ---
> arch/x86/lib/clear_page_64.S | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux-2.6/arch/x86/lib/clear_page_64.S
> ===================================================================
> --- linux-2.6.orig/arch/x86/lib/clear_page_64.S
> +++ linux-2.6/arch/x86/lib/clear_page_64.S
> @@ -6,14 +6,14 @@
> * rdi page
> */
> ALIGN
> -clear_page_c:
> +ENTRY(clear_page_c)
> CFI_STARTPROC
> movl $4096/8,%ecx
> xorl %eax,%eax
> rep stosq
> ret
> CFI_ENDPROC
> -ENDPROC(clear_page)
> +ENDPROC(clear_page_c)
>
> ENTRY(clear_page)
> CFI_STARTPROC
>
>
--
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/