diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-21 01:57:04 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-21 05:58:20 (GMT) |
commit | bfce281c287a427d0841fadf5d59242757b4e620 (patch) | |
tree | abca9ebeef4c668021e85e4d54e6e779121e92cc /drivers/gpu/drm/i810/i810_dma.c | |
parent | 9f3a4afb276e4d8b3be7f3e678d4dbd11470416f (diff) | |
download | linux-fsl-qoriq-bfce281c287a427d0841fadf5d59242757b4e620.tar.xz |
kill mm argument of vm_munmap()
it's always current->mm
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/i810/i810_dma.c')
-rw-r--r-- | drivers/gpu/drm/i810/i810_dma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i810/i810_dma.c b/drivers/gpu/drm/i810/i810_dma.c index a4ba453..f920fb5 100644 --- a/drivers/gpu/drm/i810/i810_dma.c +++ b/drivers/gpu/drm/i810/i810_dma.c @@ -158,8 +158,7 @@ static int i810_unmap_buffer(struct drm_buf *buf) if (buf_priv->currently_mapped != I810_BUF_MAPPED) return -EINVAL; - retcode = vm_munmap(current->mm, - (unsigned long)buf_priv->virtual, + retcode = vm_munmap((unsigned long)buf_priv->virtual, (size_t) buf->total); buf_priv->currently_mapped = I810_BUF_UNMAPPED; |