Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60503
b: refs/heads/master
c: 3f1df7a
h: refs/heads/master
i:
  60501: 75b1ef9
  60499: 5c450bf
  60495: b6b42a2
v: v3
  • Loading branch information
Jon Tollefson authored and Paul Mackerras committed Jun 14, 2007
1 parent 81c3432 commit 7762fc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 31fe5bf66a09c36e95b4c04291249b251b52f2d4
refs/heads/master: 3f1df7a260aded4937e512872f3fbfdb9bc22c82
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/mm/hash_native_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,14 @@ static long native_hpte_updatepp(unsigned long slot, unsigned long newpp,
/* Even if we miss, we need to invalidate the TLB */
if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) {
DBG_LOW(" -> miss\n");
native_unlock_hpte(hptep);
ret = -1;
} else {
DBG_LOW(" -> hit\n");
/* Update the HPTE */
hptep->r = (hptep->r & ~(HPTE_R_PP | HPTE_R_N)) |
(newpp & (HPTE_R_PP | HPTE_R_N | HPTE_R_C));
native_unlock_hpte(hptep);
}
native_unlock_hpte(hptep);

/* Ensure it is out of the tlb too. */
tlbie(va, psize, local);
Expand Down

0 comments on commit 7762fc7

Please sign in to comment.