Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 244033 Details for
Bug 333959
[PATCH] app-emulation/virtualbox-modules-3.2.8 breaks under linux 2.6.36
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for VirtualBox kernel modules to be built under Linux 2.6.36 (-rc1 at the time of this bug report)
VboxNetAdp-VBox-3.2.8-linux-2.6.36.patch (text/plain), 2.03 KB, created by
404 Error
on 2010-08-22 13:01:46 UTC
(
hide
)
Description:
Patch for VirtualBox kernel modules to be built under Linux 2.6.36 (-rc1 at the time of this bug report)
Filename:
MIME Type:
Creator:
404 Error
Created:
2010-08-22 13:01:46 UTC
Size:
2.03 KB
patch
obsolete
>--- a/vboxnetadp/linux/VBoxNetAdp-linux.c (revision 64881) >+++ b/vboxnetadp/linux/VBoxNetAdp-linux.c (revision 64882) >@@ -60,7 +60,12 @@ > > static int VBoxNetAdpLinuxOpen(struct inode *pInode, struct file *pFilp); > static int VBoxNetAdpLinuxClose(struct inode *pInode, struct file *pFilp); >-static int VBoxNetAdpLinuxIOCtl(struct inode *pInode, struct file *pFilp, unsigned int uCmd, unsigned long ulArg); >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) >+static int VBoxNetAdpLinuxIOCtl(struct inode *pInode, struct file *pFilp, >+#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ >+static long VBoxNetAdpLinuxIOCtlUnlocked(struct file *pFilp, >+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ >+ unsigned int uCmd, unsigned long ulArg); > > /******************************************************************************* > * Global Variables * >@@ -83,7 +88,11 @@ > owner: THIS_MODULE, > open: VBoxNetAdpLinuxOpen, > release: VBoxNetAdpLinuxClose, >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) > ioctl: VBoxNetAdpLinuxIOCtl, >+#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ >+ unlocked_ioctl: VBoxNetAdpLinuxIOCtlUnlocked, >+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ > }; > > /** The miscdevice structure. */ >@@ -246,7 +255,12 @@ > * @param uCmd The function specified to ioctl(). > * @param ulArg The argument specified to ioctl(). > */ >-static int VBoxNetAdpLinuxIOCtl(struct inode *pInode, struct file *pFilp, unsigned int uCmd, unsigned long ulArg) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) >+static int VBoxNetAdpLinuxIOCtl(struct inode *pInode, struct file *pFilp, >+#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ >+static long VBoxNetAdpLinuxIOCtlUnlocked(struct file *pFilp, >+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) */ >+ unsigned int uCmd, unsigned long ulArg) > { > VBOXNETADPREQ Req; > PVBOXNETADP pAdp;
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 333959
:
244031
| 244033 |
244035
|
244037
|
250263
|
250265