@@ -1665,27 +1665,30 @@ EXC_COMMON_BEGIN(program_check_common)
1665
1665
*/
1666
1666
1667
1667
andi. r10,r12,MSR_PR
1668
- bne 2f /* If userspace, go normal path */
1668
+ bne .Lnormal_stack /* If userspace, go normal path */
1669
1669
1670
1670
andis. r10,r12,(SRR1_PROGTM)@h
1671
- bne 1f /* If TM, emergency */
1671
+ bne .Lemergency_stack /* If TM, emergency */
1672
1672
1673
1673
cmpdi r1,-INT_FRAME_SIZE /* check if r1 is in userspace */
1674
- blt 2f /* normal path if not */
1674
+ blt .Lnormal_stack /* normal path if not */
1675
1675
1676
1676
/* Use the emergency stack */
1677
- 1: andi. r10,r12,MSR_PR /* Set CR0 correctly for label */
1677
+ .Lemergency_stack:
1678
+ andi. r10,r12,MSR_PR /* Set CR0 correctly for label */
1678
1679
/* 3 in EXCEPTION_PROLOG_COMMON */
1679
1680
mr r10,r1 /* Save r1 */
1680
1681
ld r1,PACAEMERGSP(r13) /* Use emergency stack */
1681
1682
subi r1,r1,INT_FRAME_SIZE /* alloc stack frame */
1682
1683
__ISTACK(program_check)=0
1683
1684
__GEN_COMMON_BODY program_check
1684
- b 3f
1685
- 2:
1685
+ b .Ldo_program_check
1686
+
1687
+ .Lnormal_stack:
1686
1688
__ISTACK(program_check)=1
1687
1689
__GEN_COMMON_BODY program_check
1688
- 3:
1690
+
1691
+ .Ldo_program_check:
1689
1692
addi r3,r1,STACK_FRAME_OVERHEAD
1690
1693
bl program_check_exception
1691
1694
REST_NVGPRS(r1) /* instruction emulation may change GPRs */
0 commit comments