aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2021-04-30 05:07:18 -0400
committerAlex Deucher <[email protected]>2021-05-10 18:06:44 -0400
commit2e4ec251628f6d43c1df5351d744b1aed4583ae4 (patch)
tree88cd2226422d55ba0f100227e388d1a5460b18b9
parentb617207e8001094e065f772fb35a45b015f5af4c (diff)
drm/amdkfd: Make svm_migrate_put_sys_page static
This function is only used in this source file. Reported-by: kernel test robot <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c b/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
index 6b810863f6ba..bc2fc528ad58 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
@@ -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;