diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 5beb89683453472b3aff8674888ef3528ac05fb8..7c8bb46e83e48053e3796c02da85d0e3e89361b2 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -196,9 +196,6 @@ set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte) } pte = pte_offset_kernel(pmd, vaddr); - if (!pte_none(*pte) && pte_val(new_pte) && - pte_val(*pte) != (pte_val(new_pte) & __supported_pte_mask)) - pte_ERROR(*pte); set_pte(pte, new_pte); /*