Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101775
b: refs/heads/master
c: 801eb73
h: refs/heads/master
i:
  101773: 28d82f6
  101771: b1e1057
  101767: cd3aae2
  101759: 6e09871
v: v3
  • Loading branch information
Dave Kleikamp authored and Benjamin Herrenschmidt committed Jul 9, 2008
1 parent 29e390d commit efbbbe7
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ef3d3246a0d06be622867d21af25f997aeeb105f
refs/heads/master: 801eb73f45371accc78ca9d6d22d647eeb722c11
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/lpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ static long pSeries_lpar_hpte_insert(unsigned long hpte_group,
flags = 0;

/* Make pHyp happy */
if (rflags & (_PAGE_GUARDED|_PAGE_NO_CACHE))
if ((rflags & _PAGE_GUARDED) ||
((rflags & _PAGE_NO_CACHE) & !(rflags & _PAGE_WRITETHRU)))
hpte_r &= ~_PAGE_COHERENT;

lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot);
Expand Down

0 comments on commit efbbbe7

Please sign in to comment.