Commit bf590c40 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] Remove old DRM4.0 code.

Old patch from John Kim to remove old DRM 4.0 code in 2.5.59.
parent 582b70ec
...@@ -40,12 +40,6 @@ ...@@ -40,12 +40,6 @@
#include <linux/interrupt.h> /* For task queue support */ #include <linux/interrupt.h> /* For task queue support */
#include <linux/delay.h> #include <linux/delay.h>
#ifdef DO_MUNMAP_4_ARGS
#define DO_MUNMAP(m, a, l) do_munmap(m, a, l, 1)
#else
#define DO_MUNMAP(m, a, l) do_munmap(m, a, l)
#endif
#define I830_BUF_FREE 2 #define I830_BUF_FREE 2
#define I830_BUF_CLIENT 1 #define I830_BUF_CLIENT 1
#define I830_BUF_HARDWARE 0 #define I830_BUF_HARDWARE 0
...@@ -230,7 +224,7 @@ static int i830_unmap_buffer(drm_buf_t *buf) ...@@ -230,7 +224,7 @@ static int i830_unmap_buffer(drm_buf_t *buf)
return -EINVAL; return -EINVAL;
down_write(&current->mm->mmap_sem); down_write(&current->mm->mmap_sem);
retcode = DO_MUNMAP(current->mm, retcode = do_munmap(current->mm,
(unsigned long)buf_priv->virtual, (unsigned long)buf_priv->virtual,
(size_t) buf->total); (size_t) buf->total);
up_write(&current->mm->mmap_sem); up_write(&current->mm->mmap_sem);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment