Skip to content

Commit ab44840

Browse files
chleroympe
authored andcommitted
powerpc/32: Remove unneccessary MSR[RI] clearing for 8xx
MSR[RI] has already been cleared a few lines above. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent e995265 commit ab44840

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/powerpc/kernel/entry_32.S

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -997,9 +997,6 @@ END_FTR_SECTION_IFSET(CPU_FTR_NEED_PAIRED_STWCX)
997997
.globl exc_exit_restart
998998
exc_exit_restart:
999999
lwz r12,_NIP(r1)
1000-
#if defined(CONFIG_PPC_8xx) && defined(CONFIG_PERF_EVENTS)
1001-
mtspr SPRN_NRI, r0
1002-
#endif
10031000
mtspr SPRN_SRR0,r12
10041001
mtspr SPRN_SRR1,r9
10051002
REST_4GPRS(9, r1)

0 commit comments

Comments
 (0)