On 4/19/2020 3:30 PM, Tianjia Zhang wrote:
The compiler reported the following compilation errors:
arch/x86/kvm/svm/sev.c: In function âsev_pin_memoryâ:
arch/x86/kvm/svm/sev.c:361:3: error: implicit declaration of function
ârelease_pagesâ [-Werror=implicit-function-declaration]
ÂÂÂ release_pages(pages, npinned);
ÂÂÂ ^~~~~~~~~~~~~
The reason is that the 'pagemap.h' header file is not included.
FYI.
Boris has sent the Patch:
https://lkml.kernel.org/r/20200411160927.27954-1-bp@xxxxxxxxx
and it's already in kvm master/queue branch