summaryrefslogtreecommitdiff
path: root/linux/i810_dma.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2001-08-19 15:20:08 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2001-08-19 15:20:08 +0000
commitf4c2f1400203434d9a5392b990aaa4fa32dce9c5 (patch)
tree85cfb2292942fb8ddd4f44dc94275433dc74df05 /linux/i810_dma.c
parent8aaf82d45c406220d5f18168e4350827a9e038e2 (diff)
No one's maintaining 2.2.x support - so remove all the cruft.X_4_1_99_1-20010822-preimport
Diffstat (limited to 'linux/i810_dma.c')
-rw-r--r--linux/i810_dma.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux/i810_dma.c b/linux/i810_dma.c
index d6933d57..e9b0e807 100644
--- a/linux/i810_dma.c
+++ b/linux/i810_dma.c
@@ -227,14 +227,9 @@ static int i810_unmap_buffer(drm_buf_t *buf)
#else
down_write( &current->mm->mmap_sem );
#endif
-#if LINUX_VERSION_CODE < 0x020399
- retcode = do_munmap((unsigned long)buf_priv->virtual,
- (size_t) buf->total);
-#else
retcode = do_munmap(current->mm,
(unsigned long)buf_priv->virtual,
(size_t) buf->total);
-#endif
#if LINUX_VERSION_CODE <= 0x020402
up( &current->mm->mmap_sem );
#else