mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
fix rga mmu map process lock bug
This commit is contained in:
@@ -323,6 +323,7 @@ static int rga_MapUserMemory(struct page **pages,
|
||||
pte = pte_offset_map_lock(current->mm, pmd, (Memory + i) << PAGE_SHIFT, &ptl);
|
||||
if (!pte)
|
||||
{
|
||||
pte_unmap_unlock(pte, ptl);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user