Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 292111 Details for
Bug 390077
vmware-modules-238.5 fails to build against kernel 3.1.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
238-3.1.0.patch
238-3.1.0.patch (text/plain), 899 bytes, created by
Ortwin Glueck
on 2011-11-10 11:05:27 UTC
(
hide
)
Description:
238-3.1.0.patch
Filename:
MIME Type:
Creator:
Ortwin Glueck
Created:
2011-11-10 11:05:27 UTC
Size:
899 bytes
patch
obsolete
>diff -u -r source30/vmnet-only/compat_netdevice.h source/vmnet-only/compat_netdevice.h >--- source30/vmnet-only/compat_netdevice.h 2011-08-23 02:11:46.000000000 +0200 >+++ source/vmnet-only/compat_netdevice.h 2011-09-17 09:38:03.000000000 +0200 >@@ -47,6 +47,19 @@ > # define net_device device > #endif > >+/* it looks like these have been removed from the kernel 3.1 >+ * probably because the "transition" is considered complete. >+ * so to keep this source compatible we just redefine them like they were >+ * previously >+ */ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0) >+#define HAVE_ALLOC_NETDEV /* feature macro: alloc_xxxdev >+ functions are available. */ >+#define HAVE_FREE_NETDEV /* free_netdev() */ >+#define HAVE_NETDEV_PRIV /* netdev_priv() */ >+#define HAVE_NETIF_QUEUE >+#define HAVE_NET_DEVICE_OPS >+#endif > > /* > * SET_MODULE_OWNER appeared sometime during 2.3.x. It was setting
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 Raw
Actions:
View
Attachments on
bug 390077
: 292111 |
292113