From aceea32a54b8aa248d771b589d46ce8fbe3c2806 Mon Sep 17 00:00:00 2001 From: Jason Chen Date: Mon, 26 Jul 2010 14:16:52 +0800 Subject: ENGR00125506 ipu dev: change mmap to writethrough policy The mmap policy should be writethrough. Signed-off-by: Jason Chen --- drivers/mxc/ipu3/ipu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mxc/ipu3/ipu_device.c b/drivers/mxc/ipu3/ipu_device.c index c98e51c8b389..20360ee1264a 100644 --- a/drivers/mxc/ipu3/ipu_device.c +++ b/drivers/mxc/ipu3/ipu_device.c @@ -446,7 +446,7 @@ static int mxc_ipu_ioctl(struct inode *inode, struct file *file, static int mxc_ipu_mmap(struct file *file, struct vm_area_struct *vma) { -// vma->vm_page_prot = pgprot_writethru(vma->vm_page_prot); + vma->vm_page_prot = pgprot_writethru(vma->vm_page_prot); if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, vma->vm_end - vma->vm_start, -- cgit v1.2.3