projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1bf2fe
)
fix rga mmu map process lock bug
author
zsq
<zsq@rock-chips.com>
Thu, 7 Mar 2013 01:04:56 +0000
(09:04 +0800)
committer
zsq
<zsq@rock-chips.com>
Thu, 7 Mar 2013 01:04:56 +0000
(09:04 +0800)
drivers/video/rockchip/rga/rga_mmu_info.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rga/rga_mmu_info.c
b/drivers/video/rockchip/rga/rga_mmu_info.c
index fc017fe9b748b90f65e7a4116d5e10430cb731c1..e5b338f0abc3838a84bb57202a182f20e1df413e 100755
(executable)
--- a/
drivers/video/rockchip/rga/rga_mmu_info.c
+++ b/
drivers/video/rockchip/rga/rga_mmu_info.c
@@
-323,6
+323,7
@@
static int rga_MapUserMemory(struct page **pages,
pte = pte_offset_map_lock(current->mm, pmd, (Memory + i) << PAGE_SHIFT, &ptl);
\r
if (!pte)
\r
{
\r
+ pte_unmap_unlock(pte, ptl);
\r
break;
\r
}
\r
}
\r