drm/amdkfd: Make svm_migrate_put_sys_page static

This function is only used in this source file.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Felix Kuehling 2021-04-30 05:07:18 -04:00 committed by Alex Deucher
parent b617207e80
commit 2e4ec25162

View File

@ -281,7 +281,7 @@ svm_migrate_get_sys_page(struct vm_area_struct *vma, unsigned long addr)
return page;
}
void svm_migrate_put_sys_page(unsigned long addr)
static void svm_migrate_put_sys_page(unsigned long addr)
{
struct page *page;