Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101832
b: refs/heads/master
c: 443dcac
h: refs/heads/master
v: v3
  • Loading branch information
Dave Kleikamp authored and Benjamin Herrenschmidt committed Jul 15, 2008
1 parent 2648e1a commit 82531fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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: 0f47331475201c7785454030a9976c8ac902a35d
refs/heads/master: 443dcac4d89622cbfc61f53523007979879d6f8e
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/platforms/cell/beat_htab.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static long beat_lpar_hpte_insert(unsigned long hpte_group,
if (!(vflags & HPTE_V_BOLTED))
DBG_LOW(" hpte_v=%016lx, hpte_r=%016lx\n", hpte_v, hpte_r);

if (rflags & (_PAGE_GUARDED|_PAGE_NO_CACHE))
if (rflags & _PAGE_NO_CACHE)
hpte_r &= ~_PAGE_COHERENT;

spin_lock(&beat_htab_lock);
Expand Down Expand Up @@ -334,7 +334,7 @@ static long beat_lpar_hpte_insert_v3(unsigned long hpte_group,
if (!(vflags & HPTE_V_BOLTED))
DBG_LOW(" hpte_v=%016lx, hpte_r=%016lx\n", hpte_v, hpte_r);

if (rflags & (_PAGE_GUARDED|_PAGE_NO_CACHE))
if (rflags & _PAGE_NO_CACHE)
hpte_r &= ~_PAGE_COHERENT;

/* insert into not-volted entry */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/pseries/lpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ static long pSeries_lpar_hpte_insert(unsigned long hpte_group,
flags = 0;

/* Make pHyp happy */
if ((rflags & _PAGE_GUARDED) ||
((rflags & _PAGE_NO_CACHE) & !(rflags & _PAGE_WRITETHRU)))
if ((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 82531fa

Please sign in to comment.