Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 245540 Details for
Bug 335456
app-emulation/vmware-modules-1.0.0.2[4-6] doesn't compile with kernel >=2.6.36
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1.0.0.24-ioctl.patch
1.0.0.24-ioctl.patch (text/plain), 1.84 KB, created by
Fabio Rossi
on 2010-08-31 20:57:17 UTC
(
hide
)
Description:
1.0.0.24-ioctl.patch
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2010-08-31 20:57:17 UTC
Size:
1.84 KB
patch
obsolete
>--- vmmon-only/linux/driver.c.orig 2010-08-27 23:06:22.724140000 +0200 >+++ vmmon-only/linux/driver.c 2010-08-27 23:13:08.937140000 +0200 >@@ -168,10 +168,8 @@ > > static int LinuxDriver_Ioctl(struct inode *inode, struct file *filp, > u_int iocmd, unsigned long ioarg); >-#if defined(HAVE_UNLOCKED_IOCTL) || defined(HAVE_COMPAT_IOCTL) > static long LinuxDriver_UnlockedIoctl(struct file *filp, > u_int iocmd, unsigned long ioarg); >-#endif > > static int LinuxDriver_Close(struct inode *inode, struct file *filp); > static unsigned int LinuxDriverPoll(struct file *file, poll_table *wait); >@@ -420,11 +418,7 @@ > memset(&vmuser_fops, 0, sizeof vmuser_fops); > compat_fop_set_owner(&vmuser_fops); > vmuser_fops.poll = LinuxDriverPoll; >-#ifdef VMW_HAVE_UNLOCKED_IOCTL > vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl; >-#else >- vmuser_fops.ioctl = LinuxDriver_Ioctl; >-#endif > #ifdef HAVE_COMPAT_IOCTL > vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl; > #endif >@@ -2410,7 +2404,6 @@ > } > > >-#if defined(HAVE_UNLOCKED_IOCTL) || defined(HAVE_COMPAT_IOCTL) > /* > *----------------------------------------------------------------------------- > * >@@ -2443,7 +2436,6 @@ > unlock_kernel(); > return err; > } >-#endif > > > /* >--- vmmon-only/linux/hostif.c.orig 2010-08-27 23:05:46.948140000 +0200 >+++ vmmon-only/linux/hostif.c 2010-08-27 23:06:11.675140000 +0200 >@@ -3407,19 +3407,9 @@ > u_int iocmd, > unsigned long ioarg) > { >-#ifdef HAVE_UNLOCKED_IOCTL > if (filp->f_op->unlocked_ioctl) { > return filp->f_op->unlocked_ioctl(filp, iocmd, ioarg); > } >-#endif >- if (filp->f_op->ioctl) { >- long err; >- >- lock_kernel(); >- err = filp->f_op->ioctl(filp->f_dentry->d_inode, filp, iocmd, ioarg); >- unlock_kernel(); >- return err; >- } > return -ENOIOCTLCMD; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 335456
: 245540 |
245542
|
249930