[tip:x86/urgent] x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_page_c

From: tip-bot for Mike Galbraith
Date: Tue Jun 30 2009 - 17:47:21 EST


Commit-ID: 9e314996e3dc5189b9b36dce67088e882e989897
Gitweb: http://git.kernel.org/tip/9e314996e3dc5189b9b36dce67088e882e989897
Author: Mike Galbraith <efault@xxxxxx>
AuthorDate: Tue, 30 Jun 2009 15:00:20 +0200
Committer: Ingo Molnar <mingo@xxxxxxx>
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@xxxxxx>
Acked-by: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
Acked-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
LKML-Reference: <1246366820.6538.1.camel@xxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>


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