-static void vmi_set_pte_present(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte) +static void vmi_set_pte_present(struct mm_struct *mm, u32 addr, pte_t *ptep, pte_t pte) { vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); vmi_ops.set_pte(pte, ptep, vmi_flags_addr_defer(mm, addr, VMI_PAGE_PT, 1)); @@ -492,7 +492,7 @@ static void vmi_set_pud(pud_t *pudp, pud vmi_ops.set_pte(pte, (pte_t *)pudp, VMI_PAGE_PDP); } -static void vmi_pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) +static void vmi_pte_clear(struct mm_struct *mm, u32 addr, pte_t *ptep) { const pte_t pte = { 0 }; vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/