LoongArch: Export symbol invalid_pud_table for modules building
authorHuacai Chen <chenhuacai@loongson.cn>
Wed, 18 Oct 2023 00:42:52 +0000 (08:42 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 18 Oct 2023 00:42:52 +0000 (08:42 +0800)
commit449c2756c2323c9e32b2a2fa9c8b59ce91b5819d
tree4ecf795ed41d3ffcf251219122905f6a04d1fcf4
parent00c2ca84c680f64b79b5e10a482ca435fd7d98ce
LoongArch: Export symbol invalid_pud_table for modules building

Export symbol invalid_pud_table for modules building (such as the KVM
module) if 4-level page tables enabled. Otherwise we get:

ERROR: modpost: "invalid_pud_table" [arch/loongarch/kvm/kvm.ko] undefined!

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/mm/init.c