From f4c2f1400203434d9a5392b990aaa4fa32dce9c5 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Sun, 19 Aug 2001 15:20:08 +0000 Subject: No one's maintaining 2.2.x support - so remove all the cruft. --- linux/i810_dma.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'linux/i810_dma.c') 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( ¤t->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( ¤t->mm->mmap_sem ); #else -- cgit v1.2.3