Skip to content

Commit

Permalink
powerpc: perf_event: Cleanup copy_page output by hiding setup symbol
Browse files Browse the repository at this point in the history
A lot of hits in "setup" doesn't make much sense, so hide this symbol and
allow all the hits to end up in copy_4k_page.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Oct 28, 2009
1 parent 907b1f4 commit 3cd980d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/lib/copypage_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ BEGIN_FTR_SECTION
srd r8,r5,r11

mtctr r8
setup:
.Lsetup:
dcbt r9,r4
dcbz r9,r3
add r9,r9,r12
bdnz setup
bdnz .Lsetup
END_FTR_SECTION_IFSET(CPU_FTR_CP_USE_DCBTZ)
addi r3,r3,-8
srdi r8,r5,7 /* page is copied in 128 byte strides */
Expand Down

0 comments on commit 3cd980d

Please sign in to comment.