* [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation
@ 2009-06-30 10:54 Mike Galbraith
2009-06-30 11:42 ` Alexander van Heukelum
0 siblings, 1 reply; 5+ messages in thread
From: Mike Galbraith @ 2009-06-30 10:54 UTC (permalink / raw)
To: LKML; +Cc: Ingo Molnar, Alexander van Heukelum, Cyrill Gorcunov
x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation.
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Alexander van Heukelum <heukelum@mailshack.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation
2009-06-30 10:54 [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation Mike Galbraith
@ 2009-06-30 11:42 ` Alexander van Heukelum
2009-06-30 13:00 ` Mike Galbraith
0 siblings, 1 reply; 5+ messages in thread
From: Alexander van Heukelum @ 2009-06-30 11:42 UTC (permalink / raw)
To: Mike Galbraith, LKML; +Cc: Ingo Molnar, Cyrill Gorcunov
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@fastmail.fm>
(maybe the x86-committer feels comfortable enough to remove the ALIGN ;)
)
On Tue, 30 Jun 2009 12:54:00 +0200, "Mike Galbraith" <efault@gmx.de>
said:
> x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation.
>
> Signed-off-by: Mike Galbraith <efault@gmx.de>
> Cc: Ingo Molnar <mingo@elte.hu>
> Cc: Alexander van Heukelum <heukelum@mailshack.com>
> Cc: Cyrill Gorcunov <gorcunov@gmail.com>
> 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
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation
2009-06-30 11:42 ` Alexander van Heukelum
@ 2009-06-30 13:00 ` Mike Galbraith
2009-06-30 13:51 ` Cyrill Gorcunov
2009-06-30 21:45 ` [tip:x86/urgent] x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_page_c tip-bot for Mike Galbraith
0 siblings, 2 replies; 5+ messages in thread
From: Mike Galbraith @ 2009-06-30 13:00 UTC (permalink / raw)
To: Alexander van Heukelum; +Cc: LKML, Ingo Molnar, Cyrill Gorcunov
On Tue, 2009-06-30 at 13:42 +0200, Alexander van Heukelum wrote:
> 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@fastmail.fm>
>
> (maybe the x86-committer feels comfortable enough to remove the ALIGN ;)
> )
No doubt, but I can save him the trouble ;-)
x86: fix incorrect arch/x86/lib/clear_page_64.S::clear_page_c annotation.
Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
LKML-Reference: <new-submission>
---
arch/x86/lib/clear_page_64.S | 5 ++---
1 file changed, 2 insertions(+), 3 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
@@ -5,15 +5,14 @@
* Zero a page.
* 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation
2009-06-30 13:00 ` Mike Galbraith
@ 2009-06-30 13:51 ` Cyrill Gorcunov
2009-06-30 21:45 ` [tip:x86/urgent] x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_page_c tip-bot for Mike Galbraith
1 sibling, 0 replies; 5+ messages in thread
From: Cyrill Gorcunov @ 2009-06-30 13:51 UTC (permalink / raw)
To: Mike Galbraith; +Cc: Alexander van Heukelum, LKML, Ingo Molnar
[Mike Galbraith - Tue, Jun 30, 2009 at 03:00:20PM +0200]
| On Tue, 2009-06-30 at 13:42 +0200, Alexander van Heukelum wrote:
| > 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@fastmail.fm>
| >
| > (maybe the x86-committer feels comfortable enough to remove the ALIGN ;)
| > )
|
| No doubt, but I can save him the trouble ;-)
|
| x86: fix incorrect arch/x86/lib/clear_page_64.S::clear_page_c annotation.
|
| Signed-off-by: Mike Galbraith <efault@gmx.de>
| Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
| Cc: Ingo Molnar <mingo@elte.hu>
| Cc: Cyrill Gorcunov <gorcunov@gmail.com>
| LKML-Reference: <new-submission>
|
| ---
| arch/x86/lib/clear_page_64.S | 5 ++---
| 1 file changed, 2 insertions(+), 3 deletions(-)
|
...
Thanks Mike, here is my Ack (if needed)
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
-- Cyrill
^ permalink raw reply [flat|nested] 5+ messages in thread
* [tip:x86/urgent] x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_page_c
2009-06-30 13:00 ` Mike Galbraith
2009-06-30 13:51 ` Cyrill Gorcunov
@ 2009-06-30 21:45 ` tip-bot for Mike Galbraith
1 sibling, 0 replies; 5+ messages in thread
From: tip-bot for Mike Galbraith @ 2009-06-30 21:45 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, efault, heukelum, tglx, gorcunov, mingo
Commit-ID: 9e314996e3dc5189b9b36dce67088e882e989897
Gitweb: http://git.kernel.org/tip/9e314996e3dc5189b9b36dce67088e882e989897
Author: Mike Galbraith <efault@gmx.de>
AuthorDate: Tue, 30 Jun 2009 15:00:20 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 30 Jun 2009 23:43:15 +0200
x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_page_c
Noticed the zero-sized function symbol while looking at 'perf' profiles,
it causes the profiler to display those addresses in hexa.
Turns out that this was wrong/bogus for an eternity.
Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
LKML-Reference: <1246366820.6538.1.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/lib/clear_page_64.S | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/x86/lib/clear_page_64.S b/arch/x86/lib/clear_page_64.S
index 9a10a78..ebeafcc 100644
--- a/arch/x86/lib/clear_page_64.S
+++ b/arch/x86/lib/clear_page_64.S
@@ -5,15 +5,14 @@
* Zero a page.
* 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-30 21:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30 10:54 [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation Mike Galbraith
2009-06-30 11:42 ` Alexander van Heukelum
2009-06-30 13:00 ` Mike Galbraith
2009-06-30 13:51 ` Cyrill Gorcunov
2009-06-30 21:45 ` [tip:x86/urgent] x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_page_c tip-bot for Mike Galbraith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.