aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c
index 55d7e0f4bb3b..1c1af71d19cb 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -105,11 +105,11 @@ spufs_mem_mmap_nopage(struct vm_area_struct *vma,
105 105
106 if (ctx->state == SPU_STATE_SAVED) { 106 if (ctx->state == SPU_STATE_SAVED) {
107 vma->vm_page_prot = __pgprot(pgprot_val(vma->vm_page_prot) 107 vma->vm_page_prot = __pgprot(pgprot_val(vma->vm_page_prot)
108 & ~(_PAGE_NO_CACHE | _PAGE_GUARDED)); 108 & ~_PAGE_NO_CACHE);
109 page = vmalloc_to_page(ctx->csa.lscsa->ls + offset); 109 page = vmalloc_to_page(ctx->csa.lscsa->ls + offset);
110 } else { 110 } else {
111 vma->vm_page_prot = __pgprot(pgprot_val(vma->vm_page_prot) 111 vma->vm_page_prot = __pgprot(pgprot_val(vma->vm_page_prot)
112 | _PAGE_NO_CACHE | _PAGE_GUARDED); 112 | _PAGE_NO_CACHE);
113 page = pfn_to_page((ctx->spu->local_store_phys + offset) 113 page = pfn_to_page((ctx->spu->local_store_phys + offset)
114 >> PAGE_SHIFT); 114 >> PAGE_SHIFT);
115 } 115 }