diff options
Diffstat (limited to 'arch/powerpc/kernel/head_32.S')
-rw-r--r-- | arch/powerpc/kernel/head_32.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S index 6359e364fe66..bf37ef2b3aac 100644 --- a/arch/powerpc/kernel/head_32.S +++ b/arch/powerpc/kernel/head_32.S | |||
@@ -466,16 +466,11 @@ SystemCall: | |||
466 | * by executing an altivec instruction. | 466 | * by executing an altivec instruction. |
467 | */ | 467 | */ |
468 | . = 0xf00 | 468 | . = 0xf00 |
469 | b Trap_0f | 469 | b PerformanceMonitor |
470 | 470 | ||
471 | . = 0xf20 | 471 | . = 0xf20 |
472 | b AltiVecUnavailable | 472 | b AltiVecUnavailable |
473 | 473 | ||
474 | Trap_0f: | ||
475 | EXCEPTION_PROLOG | ||
476 | addi r3,r1,STACK_FRAME_OVERHEAD | ||
477 | EXC_XFER_EE(0xf00, unknown_exception) | ||
478 | |||
479 | /* | 474 | /* |
480 | * Handle TLB miss for instruction on 603/603e. | 475 | * Handle TLB miss for instruction on 603/603e. |
481 | * Note: we get an alternate set of r0 - r3 to use automatically. | 476 | * Note: we get an alternate set of r0 - r3 to use automatically. |
@@ -719,6 +714,11 @@ AltiVecUnavailable: | |||
719 | #endif /* CONFIG_ALTIVEC */ | 714 | #endif /* CONFIG_ALTIVEC */ |
720 | EXC_XFER_EE_LITE(0xf20, altivec_unavailable_exception) | 715 | EXC_XFER_EE_LITE(0xf20, altivec_unavailable_exception) |
721 | 716 | ||
717 | PerformanceMonitor: | ||
718 | EXCEPTION_PROLOG | ||
719 | addi r3,r1,STACK_FRAME_OVERHEAD | ||
720 | EXC_XFER_STD(0xf00, performance_monitor_exception) | ||
721 | |||
722 | #ifdef CONFIG_ALTIVEC | 722 | #ifdef CONFIG_ALTIVEC |
723 | /* Note that the AltiVec support is closely modeled after the FP | 723 | /* Note that the AltiVec support is closely modeled after the FP |
724 | * support. Changes to one are likely to be applicable to the | 724 | * support. Changes to one are likely to be applicable to the |