[PATCH 1/3] powerpc: perf_event: Cleanup copy_page output by hiding setup symbol

Anton Blanchard anton at samba.org
Sun Oct 18 22:23:28 EST 2009


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 at samba.org>
---

Index: linux.trees.git/arch/powerpc/lib/copypage_64.S
===================================================================
--- linux.trees.git.orig/arch/powerpc/lib/copypage_64.S	2009-07-06 10:13:56.000000000 +1000
+++ linux.trees.git/arch/powerpc/lib/copypage_64.S	2009-07-06 10:13:57.000000000 +1000
@@ -26,11 +26,11 @@
 	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 */


More information about the Linuxppc-dev mailing list