瀏覽代碼

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 年之前
父節點
當前提交
c86e2eaded
共有 1 個文件被更改,包括 3 次插入0 次删除
  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