diff options
author | Jason Chen <b02280@freescale.com> | 2010-07-26 14:16:52 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2010-07-26 15:48:19 +0800 |
commit | aceea32a54b8aa248d771b589d46ce8fbe3c2806 (patch) | |
tree | dace087bd091f41b015f087a9fcc8ca43ccd9146 | |
parent | 16e2b10a76c1e8463e6550dd505479f8cd9374a2 (diff) |
ENGR00125506 ipu dev: change mmap to writethrough policy
The mmap policy should be writethrough.
Signed-off-by: Jason Chen <b02280@freescale.com>
-rw-r--r-- | drivers/mxc/ipu3/ipu_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |