From 7c2100071b80e0547d2e1b6e11cca4e7bb3b237f Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Thu, 27 Oct 2011 02:58:45 +0000 Subject: [PATCH] --- yaml --- r: 279524 b: refs/heads/master c: 09c188c4f6b331dbb61a2b5bd05d4c89c733fe33 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/include/asm/pgtable.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 25adce0660bc..1303b9c53422 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e8d2c47352453606fdfef17742ab4154262f937d +refs/heads/master: 09c188c4f6b331dbb61a2b5bd05d4c89c733fe33 diff --git a/trunk/arch/powerpc/include/asm/pgtable.h b/trunk/arch/powerpc/include/asm/pgtable.h index 88b0bd925a8b..2e0e4110f7ae 100644 --- a/trunk/arch/powerpc/include/asm/pgtable.h +++ b/trunk/arch/powerpc/include/asm/pgtable.h @@ -170,6 +170,9 @@ extern int ptep_set_access_flags(struct vm_area_struct *vma, unsigned long addre #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ _PAGE_COHERENT | _PAGE_WRITETHRU)) +#define pgprot_cached_noncoherent(prot) \ + (__pgprot(pgprot_val(prot) & ~_PAGE_CACHE_CTL)) + #define pgprot_writecombine pgprot_noncached_wc struct file;