updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / vmware-patch / vmmon-2.6.36.diff
blobe1a27c9de8d2628d3dbe4db78ef1dcd9ecfdb5a2
1 --- vmmon-only/linux/driver.c.orig 2010-09-21 04:14:54.000000000 -0400
2 +++ vmmon-only/linux/driver.c 2010-11-19 17:22:02.338155199 -0500
3 @@ -419,7 +419,7 @@
4 memset(&vmuser_fops, 0, sizeof vmuser_fops);
5 vmuser_fops.owner = THIS_MODULE;
6 vmuser_fops.poll = LinuxDriverPoll;
7 -#ifdef VMW_HAVE_UNLOCKED_IOCTL
8 +#if defined(VMW_HAVE_UNLOCKED_IOCTL) || defined(HAVE_UNLOCKED_IOCTL)
9 vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
10 #else
11 vmuser_fops.ioctl = LinuxDriver_Ioctl;