]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e44d93be625a95aa57bb194d1c58281fa1f487c
tree943ff1540a74b455852fc056e68ad0843cb2d930
parent4764e99deee460568d59e6c88fcf402440c6a616
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