]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - mm/mprotect.c
Add type field to UDP datagrams
[can-eth-gw-linux.git] / mm / mprotect.c
index a40992610ab6f6c0cbe96f9a9bd43a3fa973fd96..e8c3938db6faecf6f91c47db790a36271fa8d938 100644 (file)
@@ -90,7 +90,7 @@ static inline void change_pmd_range(struct vm_area_struct *vma, pud_t *pud,
                next = pmd_addr_end(addr, end);
                if (pmd_trans_huge(*pmd)) {
                        if (next - addr != HPAGE_PMD_SIZE)
-                               split_huge_page_pmd(vma->vm_mm, pmd);
+                               split_huge_page_pmd(vma, addr, pmd);
                        else if (change_huge_pmd(vma, pmd, addr, newprot))
                                continue;
                        /* fall through */