--- zzzz-none-000/linux-5.15.111/arch/x86/include/asm/pgtable.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/arch/x86/include/asm/pgtable.h 2024-02-07 10:22:35.000000000 +0000 @@ -1106,7 +1106,8 @@ } #define __HAVE_ARCH_PMDP_HUGE_GET_AND_CLEAR -static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, unsigned long addr, +static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, + unsigned long addr, pmd_t *pmdp) { return native_pmdp_get_and_clear(pmdp);