diff options
Diffstat (limited to 'linux/i810_dma.c')
-rw-r--r-- | linux/i810_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/i810_dma.c b/linux/i810_dma.c index 94f35b61..96b7a44f 100644 --- a/linux/i810_dma.c +++ b/linux/i810_dma.c @@ -211,7 +211,7 @@ static int i810_unmap_buffer(drm_buf_t *buf) if(buf_priv->currently_mapped != I810_BUF_MAPPED) return -EINVAL; down(¤t->mm->mmap_sem); - retcode = do_munmap((unsigned long)buf_priv->virtual, + retcode = do_munmap(current->mm, (unsigned long)buf_priv->virtual, (size_t) buf->total); buf_priv->currently_mapped = I810_BUF_UNMAPPED; buf_priv->virtual = 0; |