LoongArch: Fix the !THP build
authorHuacai Chen <chenhuacai@loongson.cn>
Wed, 22 Jun 2022 13:56:16 +0000 (21:56 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jun 2022 10:05:58 +0000 (18:05 +0800)
commit501dcbe495c0484a8f7954f1b24d2002dc6cb2d2
tree943ff1540a74b455852fc056e68ad0843cb2d930
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e
LoongArch: Fix the !THP build

Fix the !THP build by making pmd_pfn() available in all configurations.
Because pmd_pfn() is used in mm/page_vma_mapped.c whether or not THP is
configured.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/pgtable.h