Skip to content

Commit

Permalink
x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_pa…
Browse files Browse the repository at this point in the history
…ge_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>
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Jun 30, 2009
1 parent 5a4f13f commit 9e31499
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/x86/lib/clear_page_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e31499

Please sign in to comment.