mm/x86: replace p4d_large() with p4d_leaf()
[linux-2.6-microblaze.git] / arch / x86 / mm / pti.c
index 669ba1c..dc0a81f 100644 (file)
@@ -206,7 +206,7 @@ static pmd_t *pti_user_pagetable_walk_pmd(unsigned long address)
        if (!p4d)
                return NULL;
 
-       BUILD_BUG_ON(p4d_large(*p4d) != 0);
+       BUILD_BUG_ON(p4d_leaf(*p4d) != 0);
        if (p4d_none(*p4d)) {
                unsigned long new_pud_page = __get_free_page(gfp);
                if (WARN_ON_ONCE(!new_pud_page))