It is currently Mon, 26 Oct 2020 04:14:07 GMT



 
Author Message
 trivial cleanup of DRM 4.0 code from i830 driver

I found some old DRM 4.0 code in 2.5.59.   Here is patch to remove them.

John Kim

--- linux-2.5.59/drivers/char/drm/i830_dma.c    2003-01-16 21:21:38.000000000 -0500
+++ linux-2.5.59-new/drivers/char/drm/i830_dma.c        2003-01-29 02:06:25.000000000 -0500
@@ -40,12 +40,6 @@
 #include <linux/interrupt.h>     /* For task queue support */
 #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_CLIENT                1
 #define I830_BUF_HARDWARE              0
@@ -230,7 +224,7 @@
                return -EINVAL;

        down_write(&current->mm->mmap_sem);
-       retcode = DO_MUNMAP(current->mm,
+       retcode = do_munmap(current->mm,
                            (unsigned long)buf_priv->virtual,
                            (size_t) buf->total);
        up_write(&current->mm->mmap_sem);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at   http://www.**-**.com/
Please read the FAQ at   http://www.**-**.com/



 Sun, 17 Jul 2005 08:20:07 GMT   
 
   [ 1 post ] 

Similar Threads

1. Trivial: exit path cleanup in drivers/cdrom/sonycd535.c

2. Trivial: check_region cleanup from drivers/char/ip2main.c

3. AGPGART 1/5: minor DRM interface cleanup

4. 2.4 - trivial cleanup in kmem_cache_reap()

5. USB speedtouch: trivial cleanups

6. 2.5-bk trivial LSM cleanup

7. : trivial sys_mincore cleanup

8. Trivial patch: linux-2.5.20/Rules.make cleanup

9. DRM 4.0 support for kernel 2.4.17

10. 2.4.20-rc2-ac3 oops (causer is DRM 4.3.x code)


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software