diff mbox

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

Message ID 20091018112406.GO4808@kryten (mailing list archive)
State Accepted
Delegated to: Paul Mackerras
Headers show

Commit Message

Anton Blanchard Oct. 18, 2009, 11:24 a.m. UTC
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@samba.org>
---
diff mbox

Patch

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