Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 656
b: refs/heads/master
c: d03853d
h: refs/heads/master
v: v3
  • Loading branch information
Olof Johansson authored and Linus Torvalds committed May 1, 2005
1 parent fe3aed1 commit dcd4c80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 66faf9845a05905d75da380767e93455f3e6d620
refs/heads/master: d03853d566fb32c6bb8cab4bf2ecf53e692f001c
9 changes: 8 additions & 1 deletion trunk/arch/ppc64/mm/hash_low.S
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ _GLOBAL(__hash_page)
bne- htab_wrong_access
/* Check if PTE is busy */
andi. r0,r31,_PAGE_BUSY
bne- 1b
/* If so, just bail out and refault if needed. Someone else
* is changing this PTE anyway and might hash it.
*/
bne- bail_ok
/* Prepare new PTE value (turn access RW into DIRTY, then
* add BUSY,HASHPTE and ACCESSED)
*/
Expand Down Expand Up @@ -215,6 +218,10 @@ _GLOBAL(htab_call_hpte_remove)
/* Try all again */
b htab_insert_pte

bail_ok:
li r3,0
b bail

htab_pte_insert_ok:
/* Insert slot number & secondary bit in PTE */
rldimi r30,r3,12,63-15
Expand Down

0 comments on commit dcd4c80

Please sign in to comment.