Browse Source

powerpc: perf_event: Cleanup output by adding symbols

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>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Anton Blanchard 15 years ago
parent
commit
c86e2eaded
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/powerpc/kernel/exceptions-64s.S

+ 3 - 0
arch/powerpc/kernel/exceptions-64s.S

@@ -185,12 +185,15 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE)
 	 * prolog code of the PerformanceMonitor one. A little
 	 * prolog code of the PerformanceMonitor one. A little
 	 * trickery is thus necessary
 	 * trickery is thus necessary
 	 */
 	 */
+performance_monitor_pSeries_1:
 	. = 0xf00
 	. = 0xf00
 	b	performance_monitor_pSeries
 	b	performance_monitor_pSeries
 
 
+altivec_unavailable_pSeries_1:
 	. = 0xf20
 	. = 0xf20
 	b	altivec_unavailable_pSeries
 	b	altivec_unavailable_pSeries
 
 
+vsx_unavailable_pSeries_1:
 	. = 0xf40
 	. = 0xf40
 	b	vsx_unavailable_pSeries
 	b	vsx_unavailable_pSeries