summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-09-19 22:24:11 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-10-03 17:11:00 +0300
commit4d8e54d2b9d3fb2281677e897e81c6a48489bec2 (patch)
tree7a5cebecb6da39a94ca1efa120cfb3cc493d99cc
parentebc52c1692e65ed9880ebe62a5cd32c7f75dbe57 (diff)
downloadlinux-4d8e54d2b9d3fb2281677e897e81c6a48489bec2.tar.xz
drm/amdgpu/mn: fix documentation for amdgpu_mn_read_lock
Document the new parameter. Fixes: 93065ac753e4 ("mm, oom: distinguish blockable mode for mmu notifiers") Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
index f1f8cdd695d3..ae2331280e45 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
@@ -136,6 +136,7 @@ void amdgpu_mn_unlock(struct amdgpu_mn *mn)
* amdgpu_mn_read_lock - take the read side lock for this notifier
*
* @amn: our notifier
+ * @blockable: is the notifier blockable
*/
static int amdgpu_mn_read_lock(struct amdgpu_mn *amn, bool blockable)
{