On Tue, Mar 05, 2024 at 12:37:44PM +0800, pet...@redhat.com wrote: > From: Peter Xu <pet...@redhat.com> > > pgd_leaf() is a global API while pgd_large() is not. Always use > the global pgd_leaf(), then drop pgd_large(). > > 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/include/asm/pgtable.h | 4 ++-- > arch/x86/mm/pti.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Jason Gunthorpe <j...@nvidia.com> Jason