From: | "Mike Auty (ikelos)" <ikelos@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/vmware-modules/files/patches/vmmon: 035_all_kernel-2.6.25.patch |
Date: | Sat, 26 Apr 2008 14:38:57 |
Message-Id: | E1JplYE-0001z7-MQ@stork.gentoo.org |
1 | ikelos 08/04/26 14:38:54 |
2 | |
3 | Added: 035_all_kernel-2.6.25.patch |
4 | Log: |
5 | Add patches for -r1 ebuilds to ensure they work on 2.6.25 and older kernels. |
6 | (Portage version: 2.1.5_rc6) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-emulation/vmware-modules/files/patches/vmmon/035_all_kernel-2.6.25.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-modules/files/patches/vmmon/035_all_kernel-2.6.25.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-modules/files/patches/vmmon/035_all_kernel-2.6.25.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 035_all_kernel-2.6.25.patch |
15 | =================================================================== |
16 | diff --git a/common/task.c b/common/task.c |
17 | index 3111098..8373d07 100644 |
18 | --- a/common/task.c |
19 | +++ b/common/task.c |
20 | @@ -25,7 +25,12 @@ extern "C" { |
21 | * we do not need asm/page.h anymore in this file - not surprising, this |
22 | * is common file, yes? And Windows do not have page.h, do they? |
23 | */ |
24 | +#include <linux/version.h> |
25 | +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25) |
26 | #define _I386_PAGE_H |
27 | +#else |
28 | +#define _ASM_X86_PAGE_H |
29 | +#endif |
30 | /* On Linux, must come before any inclusion of asm/page.h --hpreg */ |
31 | #include "hostKernel.h" |
32 | #ifdef linux |
33 | |
34 | |
35 | |
36 | -- |
37 | gentoo-commits@l.g.o mailing list |