Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 536762 Details for
Bug 658144
app-emulation/virtualbox-modules-5.1.36 crashes out on recompilation against updated kernel 4.17.0-gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kver-4.17 patch for virtualbox-modules
file_658144.txt (text/plain), 983 bytes, created by
Amel Hodzic
on 2018-06-22 06:43:27 UTC
(
hide
)
Description:
kver-4.17 patch for virtualbox-modules
Filename:
MIME Type:
Creator:
Amel Hodzic
Created:
2018-06-22 06:43:27 UTC
Size:
983 bytes
patch
obsolete
>diff --git a/linux/VBoxPci-linux.c b/linux/VBoxPci-linux.c >index e361ef3..e53858f 100644 >--- a/linux/VBoxPci-linux.c >+++ b/linux/VBoxPci-linux.c >@@ -80,7 +80,15 @@ MODULE_VERSION(VBOX_VERSION_STRING " r" RT_XSTR(VBOX_SVN_REV)); > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) > # define PCI_DEV_GET(v,d,p) pci_get_device(v,d,p) > # define PCI_DEV_PUT(x) pci_dev_put(x) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0) >+/* assume the domain number to be zero - exactly the same assumption of >+ * pci_get_bus_and_slot() >+ * See https://www.virtualbox.org/changeset/72139/vbox/trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c >+ */ >+# define PCI_DEV_GET_SLOT(bus, devfn) pci_get_domain_bus_and_slot(0, bus, devfn) >+#else > # define PCI_DEV_GET_SLOT(bus, devfn) pci_get_bus_and_slot(bus, devfn) >+#endif > #else > # define PCI_DEV_GET(v,d,p) pci_find_device(v,d,p) > # define PCI_DEV_PUT(x) do { } while (0)
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 658144
:
535928
|
536762
|
536764