From: Matthijs van Duin matthijsvanduin@gmail.com
This *really* doesn't belong here
I should just override fb_mmap for omapdrm fbdev --- arch/arm/include/asm/fb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/fb.h b/arch/arm/include/asm/fb.h index d92e99cd8c8a..b4974b825dc1 100644 --- a/arch/arm/include/asm/fb.h +++ b/arch/arm/include/asm/fb.h @@ -8,7 +8,7 @@ static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, unsigned long off) { - vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); + vma->vm_page_prot = pgprot_device(vma->vm_page_prot); }
static inline int fb_is_primary_device(struct fb_info *info)