diff options
author | Brandon Low <lostlogic@gentoo.org> | 2002-12-09 00:12:58 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2002-12-09 00:12:58 +0000 |
commit | 0c18ebae475a46bc27a6d36aec3f1579493533f0 (patch) | |
tree | 63061d1487c1742289a4aa76a2e0cd424c5db9fc /sys-kernel/gentoo-sources | |
parent | i810_drm fixed (diff) | |
download | gentoo-2-0c18ebae475a46bc27a6d36aec3f1579493533f0.tar.gz gentoo-2-0c18ebae475a46bc27a6d36aec3f1579493533f0.tar.bz2 gentoo-2-0c18ebae475a46bc27a6d36aec3f1579493533f0.zip |
patch
Diffstat (limited to 'sys-kernel/gentoo-sources')
-rw-r--r-- | sys-kernel/gentoo-sources/files/i810_drm.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-sources/files/i810_drm.patch b/sys-kernel/gentoo-sources/files/i810_drm.patch new file mode 100644 index 000000000000..785b18a2879b --- /dev/null +++ b/sys-kernel/gentoo-sources/files/i810_drm.patch @@ -0,0 +1,32 @@ +--- linux-2.4.19-gentoo-r10/drivers/char/drm/i810_dma.c 2002-11-16 01:41:14.000000000 -0600 ++++ linux-2.4.19-gentoo-r10/drivers/char/drm/i810_dma.c.new 2002-12-08 16:13:53.000000000 -0600 +@@ -229,11 +229,11 @@ + #endif + #if LINUX_VERSION_CODE < 0x020399 + retcode = do_munmap((unsigned long)buf_priv->virtual, +- (size_t) buf->total); ++ (size_t) buf->total,1); + #else + retcode = do_munmap(current->mm, + (unsigned long)buf_priv->virtual, +- (size_t) buf->total); ++ (size_t) buf->total,1); + #endif + #if LINUX_VERSION_CODE <= 0x020402 + up( ¤t->mm->mmap_sem ); +--- linux-2.4.19-gentoo-r10/drivers/char/drm-4.0/i810_dma.c 2002-11-16 01:41:14.000000000 -0600 ++++ linux-2.4.19-gentoo-r10/drivers/char/drm-4.0/i810_dma.c.new 2002-12-08 16:14:18.000000000 -0600 +@@ -227,11 +227,11 @@ + down_write(¤t->mm->mmap_sem); + #if LINUX_VERSION_CODE < 0x020399 + retcode = do_munmap((unsigned long)buf_priv->virtual, +- (size_t) buf->total); ++ (size_t) buf->total,1); + #else + retcode = do_munmap(current->mm, + (unsigned long)buf_priv->virtual, +- (size_t) buf->total); ++ (size_t) buf->total,1); + #endif + up_write(¤t->mm->mmap_sem); + } |