patch for vmware for Linux-2.6.21

From: Jeff Chua
Date: Sun May 13 2007 - 21:18:18 EST


Attached are patches for vmware-5.5.3 to make the vmmon and vmnet
modules compile under Linux-2.6.22-rc1.

Thanks,
Jeff.
--- vmware/vmmon-only/include/compat_kernel.h.org 2006-12-26 16:47:25 +0800
+++ vmware/vmmon-only/include/compat_kernel.h 2006-12-26 16:48:00 +0800
@@ -18,7 +18,9 @@
* provided by x86-64, arm and other (but not by i386).
*/
#define __NR_compat_exit __NR_exit
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static inline _syscall1(int, compat_exit, int, exit_code);
+#endif


/*
--- vmware/vmmon-only/include/driver-config.h.org 2007-01-26 10:46:01 +0800
+++ vmware/vmmon-only/include/driver-config.h 2006-11-14 05:06:18 +0800
@@ -19,7 +19,8 @@
#include "includeCheck.h"

#include <linux/autoconf.h>
+#undef CONFIG_PARAVIRT
#include "compat_version.h"

/* We rely on Kernel Module support. Check here. */

Attachment: patch-vmnet-2.6.22
Description: Binary data