]> 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)
commitcd6ad236f3a20ae8528ca6252e289a95a6e3c4b4
tree943ff1540a74b455852fc056e68ad0843cb2d930
parent08aafa0d475a08e31a13403e9df41c7179f4bdcd
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