From: | "Fabio Erculiani (lxnay)" <lxnay@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/vmware-modules/files: 1.0.0.26-ioctl-2.6.36.patch |
Date: | Fri, 05 Nov 2010 16:27:33 |
Message-Id: | 20101105162730.27B9F2003C@flycatcher.gentoo.org |
1 | lxnay 10/11/05 16:27:30 |
2 | |
3 | Added: 1.0.0.26-ioctl-2.6.36.patch |
4 | Log: |
5 | add 2.6.36 Linux kernel support |
6 | |
7 | (Portage version: 2.2_rc91/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-emulation/vmware-modules/files/1.0.0.26-ioctl-2.6.36.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vmware-modules/files/1.0.0.26-ioctl-2.6.36.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vmware-modules/files/1.0.0.26-ioctl-2.6.36.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 1.0.0.26-ioctl-2.6.36.patch |
16 | =================================================================== |
17 | --- a/vmmon-only/linux/driver.c |
18 | +++ b/vmmon-only/linux/driver.c |
19 | @@ -143,6 +143,9 @@ |
20 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24) |
21 | #define VMW_NOPAGE_2624 |
22 | #endif |
23 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) |
24 | +#define VMW_HAVE_UNLOCKED_IOCTL |
25 | +#endif |
26 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) && \ |
27 | (defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)) |
28 | # define kernel_locked_by_current() kernel_locked() |