summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2009-06-30 15:00:20 +0200
committerIngo Molnar <mingo@elte.hu>2009-06-30 23:43:15 +0200
commit9e314996e3dc5189b9b36dce67088e882e989897 (patch)
treefc7f8d69f1af220b5503484a2f449b7a9ec07f56 /arch/x86/lib
parent5a4f13fad1ab5bd08dea78fc55321e429d83cddf (diff)
downloadop-kernel-dev-9e314996e3dc5189b9b36dce67088e882e989897.zip
op-kernel-dev-9e314996e3dc5189b9b36dce67088e882e989897.tar.gz
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>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/clear_page_64.S5
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
OpenPOWER on IntegriCloud