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.