Browse Source

Fix SEGV in cdot_power9

We were corrupting r2 because the local entry wasn't being
setup correctly.
tags/v0.3.8^2
Anton Blanchard 6 years ago
parent
commit
cf2a8e410c
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      kernel/power/cdot_power9.S

+ 1
- 4
kernel/power/cdot_power9.S View File

@@ -13,10 +13,7 @@
cdot_k:
.LCF0:
0: addis 2,12,.TOC.-.LCF0@ha
addi 2,2,.TOC.-.LCF0@l
.localentry cdot_k,.-cdot_k
mr. 9,3
0: mr. 9,3
ble 0,.L10
cmpdi 7,5,1
beq 7,.L18


Loading…
Cancel
Save