On Thu, Feb 29, 2024 at 04:42:54PM +0800, pet...@redhat.com wrote: > From: Peter Xu <pet...@redhat.com> > > p4d_large() is always defined as p4d_leaf(). Merge their usages. Chose > p4d_leaf() because p4d_leaf() is a global API, while p4d_large() is not. > > Only x86 has p4d_leaf() defined as of now. So it also means after this > patch we removed all p4d_large() usages. > > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: Borislav Petkov <b...@alien8.de> > Cc: Dave Hansen <dave.han...@linux.intel.com> > Cc: x...@kernel.org > Signed-off-by: Peter Xu <pet...@redhat.com> > --- > arch/x86/mm/fault.c | 4 ++-- > arch/x86/mm/init_64.c | 2 +- > arch/x86/mm/pat/set_memory.c | 4 ++-- > arch/x86/mm/pti.c | 2 +- > arch/x86/power/hibernate.c | 2 +- > arch/x86/xen/mmu_pv.c | 2 +- > 6 files changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Jason Gunthorpe <j...@nvidia.com> Jason