Skip to content

Commit

Permalink
powerpc: perf_event: Cleanup output by adding symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Oct 28, 2009
1 parent 917e407 commit c86e2ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/kernel/exceptions-64s.S
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,15 @@ END_FTR_SECTION_IFSET(CPU_FTR_REAL_LE)
* 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

Expand Down

0 comments on commit c86e2ea

Please sign in to comment.