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 | 605a9c2a23e84edd3a385f98ecae4f93ec0c2c2e (patch) | |
tree | c97e8affbae8032922864298d06c56ae5e0f31c6 /sys-kernel | |
parent | i810_drm fixed (diff) | |
download | historical-605a9c2a23e84edd3a385f98ecae4f93ec0c2c2e.tar.gz historical-605a9c2a23e84edd3a385f98ecae4f93ec0c2c2e.tar.bz2 historical-605a9c2a23e84edd3a385f98ecae4f93ec0c2c2e.zip |
patch
Diffstat (limited to 'sys-kernel')
-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); + } |