Commit adb44a4b authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/mm/hugetlbfs: Add missing includes



Add missing includes to fix this randconfig compile error:

All errors (new ones prefixed by >>):

   In file included from mm/pagewalk.c:5:
   In file included from include/linux/hugetlb.h:798:
>> arch/s390/include/asm/hugetlb.h:94:31: error: call to undeclared function 'is_pte_marker'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      94 |         return huge_pte_none(pte) || is_pte_marker(pte);
         |                                      ^

Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411281002.IPkRpIcR-lkp@intel.com/


Fixes: 487ef5d4 ("s390/mm: Add PTE_MARKER support for hugetlbfs mappings")
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 487ef5d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment