summaryrefslogtreecommitdiffstats
path: root/asm/misc.S
diff options
context:
space:
mode:
Diffstat (limited to 'asm/misc.S')
-rw-r--r--asm/misc.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/asm/misc.S b/asm/misc.S
index 381590b9..6ef11a35 100644
--- a/asm/misc.S
+++ b/asm/misc.S
@@ -73,10 +73,13 @@ cleanup_global_tlb:
mfspr %r3,SPR_PVR
srdi %r3,%r3,16
cmpwi cr0,%r3,PVR_TYPE_P9
- bnelr
+ beq cr0,1f
+ cmpwi cr0,%r3,PVR_TYPE_P9P
+ beq cr0,1f
+ blr
/* Sync out previous updates */
- ptesync
+1: ptesync
#ifndef OLD_BINUTILS
.machine "power9"
OpenPOWER on IntegriCloud