fix rga mmu map process lock bug

This commit is contained in:
zsq
2013-03-07 09:04:56 +08:00
parent d1bf2fed01
commit ddba20c845

View File

@@ -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;
}
}