aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2023-01-20 11:26:42 -0500
committerAndrew Morton <akpm@linux-foundation.org>2023-02-09 16:51:37 -0800
commit9303d3e1c3f8d8863d561a070489cf44ce5e4103 (patch)
tree8d96b19261c8800a0f625bd0a2eb208183fe1a4c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent440703e082b9c79c3d4fffcca8c2dffd621e6dc5 (diff)
downloadlinux-9303d3e1c3f8d8863d561a070489cf44ce5e4103.tar.gz
linux-9303d3e1c3f8d8863d561a070489cf44ce5e4103.tar.bz2
linux-9303d3e1c3f8d8863d561a070489cf44ce5e4103.zip
mm/mmap: use vma_prepare() and vma_complete() in vma_expand()
Use the new locking functions for vma_expand(). This reduces code duplication. At the same time change VM_BUG_ON() to VM_WARN_ON() Link: https://lkml.kernel.org/r/20230120162650.984577-42-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions