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. Also add some dummy symbols for the branches at 0xf00, 0xf20 and 0xf40, otherwise hits end up in trap_0e which is confusing. Signed-off-by: Anton Blanchard --- Index: linux-2.6-tip/arch/powerpc/lib/copypage_64.S =================================================================== --- linux-2.6-tip.orig/arch/powerpc/lib/copypage_64.S 2009-07-01 08:21:12.000000000 +1000 +++ linux-2.6-tip/arch/powerpc/lib/copypage_64.S 2009-07-01 08:21:50.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 */ Index: linux-2.6-tip/arch/powerpc/kernel/exceptions-64s.S =================================================================== --- linux-2.6-tip.orig/arch/powerpc/kernel/exceptions-64s.S 2009-07-01 08:21:12.000000000 +1000 +++ linux-2.6-tip/arch/powerpc/kernel/exceptions-64s.S 2009-07-01 08:21:50.000000000 +1000 @@ -185,12 +185,15 @@ * prolog code of the PerformanceMonitor one. A little * trickery is thus necessary */ +performance_monitor_pSeries_1: . = 0xf00 b performance_monitor_pSeries +altivec_unavailable_pSeries_1: . = 0xf20 b altivec_unavailable_pSeries +vsx_unavailable_pSeries_1: . = 0xf40 b vsx_unavailable_pSeries -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/