diff options
Diffstat (limited to 'linux/vm.c')
-rw-r--r-- | linux/vm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -323,6 +323,8 @@ int drm_mmap(struct file *filp, struct vm_area_struct *vma) pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; pgprot_val(vma->vm_page_prot) &= ~_PAGE_PWT; } +#elif defined(__powerpc__) + pgprot_val(vma->vm_page_prot) |= _PAGE_NO_CACHE|_PAGE_GUARDED; #endif vma->vm_flags |= VM_IO; /* not in core dump */ } |