Skip to content

Commit

Permalink
From patchwork series 358358
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Jun 6, 2023
1 parent a87fe4b commit 4b9caf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/powerpc/mm/book3s32/hash_low.S
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ _GLOBAL(add_hash_page)
lis r6, (mmu_hash_lock - PAGE_OFFSET)@ha
addi r6, r6, (mmu_hash_lock - PAGE_OFFSET)@l
10: lwarx r0,0,r6 /* take the mmu_hash_lock */
cmpi 0,r0,0
cmpwi 0,r0,0
bne- 11f
stwcx. r8,0,r6
beq+ 12f
11: lwz r0,0(r6)
cmpi 0,r0,0
cmpwi 0,r0,0
beq 10b
b 11b
12: isync
Expand Down Expand Up @@ -512,12 +512,12 @@ _GLOBAL(flush_hash_pages)
lwz r8, TASK_CPU(r8)
oris r8,r8,9
10: lwarx r0,0,r9
cmpi 0,r0,0
cmpwi 0,r0,0
bne- 11f
stwcx. r8,0,r9
beq+ 12f
11: lwz r0,0(r9)
cmpi 0,r0,0
cmpwi 0,r0,0
beq 10b
b 11b
12: isync
Expand Down

0 comments on commit 4b9caf4

Please sign in to comment.