On Thu, Feb 29, 2024 at 04:42:57PM +0800, peterx@xxxxxxxxxx wrote: > From: Peter Xu <peterx@xxxxxxxxxx> > > pud_large() is always defined as pud_leaf(). Merge their usages. Chose > pud_leaf() because pud_leaf() is a global API, while pud_large() is not. > > Signed-off-by: Peter Xu <peterx@xxxxxxxxxx> > --- > arch/powerpc/mm/book3s64/pgtable.c | 2 +- > arch/s390/boot/vmem.c | 2 +- > arch/s390/include/asm/pgtable.h | 4 ++-- > arch/s390/mm/gmap.c | 2 +- > arch/s390/mm/hugetlbpage.c | 4 ++-- > arch/s390/mm/pageattr.c | 2 +- > arch/s390/mm/pgtable.c | 2 +- > arch/s390/mm/vmem.c | 6 +++--- > arch/sparc/mm/init_64.c | 2 +- > arch/x86/kvm/mmu/mmu.c | 2 +- > arch/x86/mm/fault.c | 4 ++-- > arch/x86/mm/ident_map.c | 2 +- > arch/x86/mm/init_64.c | 4 ++-- > arch/x86/mm/kasan_init_64.c | 2 +- > arch/x86/mm/mem_encrypt_identity.c | 2 +- > arch/x86/mm/pat/set_memory.c | 6 +++--- > arch/x86/mm/pgtable.c | 2 +- > arch/x86/mm/pti.c | 2 +- > arch/x86/power/hibernate.c | 2 +- > arch/x86/xen/mmu_pv.c | 4 ++-- > 20 files changed, 29 insertions(+), 29 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason