[PATCH 2/3] powerpc: perf_event: Cleanup output by adding symbols

Anton Blanchard anton at samba.org
Sun Oct 18 22:24:06 EST 2009


Add some dummy symbols for the branches at 0xf00, 0xf20 and 0xf40,
otherwise hits end up in trap_0e which is confusing to the user.

Signed-off-by: Anton Blanchard <anton at samba.org>
---

Index: linux.trees.git/arch/powerpc/kernel/exceptions-64s.S
===================================================================
--- linux.trees.git.orig/arch/powerpc/kernel/exceptions-64s.S	2009-07-06 10:13:56.000000000 +1000
+++ linux.trees.git/arch/powerpc/kernel/exceptions-64s.S	2009-07-06 10:13:57.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
 


More information about the Linuxppc-dev mailing list