Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130371
b: refs/heads/master
c: 4c456a6
h: refs/heads/master
i:
  130369: 0046bda
  130367: 24560e5
v: v3
  • Loading branch information
Gerhard Pircher authored and Benjamin Herrenschmidt committed Jan 28, 2009
1 parent 9393106 commit 0cc8834
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 69b052e828b5ff32df7f96d6d3268a069910c663
refs/heads/master: 4c456a67f501b8b15542c7c21c28812bf88f484b
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/mm/ppc_mmu_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ void __init setbat(int index, unsigned long virt, phys_addr_t phys,
int wimgxpp;
struct ppc_bat *bat = BATS[index];

if (((flags & _PAGE_NO_CACHE) == 0) &&
cpu_has_feature(CPU_FTR_NEED_COHERENT))
flags |= _PAGE_COHERENT;
if ((flags & _PAGE_NO_CACHE) ||
(cpu_has_feature(CPU_FTR_NEED_COHERENT) == 0))
flags &= ~_PAGE_COHERENT;

bl = (size >> 17) - 1;
if (PVR_VER(mfspr(SPRN_PVR)) != 1) {
Expand Down

0 comments on commit 0cc8834

Please sign in to comment.