Summary: | >=app-emulation/virtualbox-modules-5.1.12 needs a patch for kernel 4.10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | francoisvalenduc, masterzorag, tb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch for kernel 4.10
patch for kernel 4.10.0-rc2 |
Created attachment 458318 [details, diff]
patch for kernel 4.10.0-rc2
While 4.10.0-rc1 still contained the dummy declaration static inline int register_cpu_notifier(struct notifier_block *nb) { return 0; } this was removed in 4.10.0-rc2 . *** Bug 606252 has been marked as a duplicate of this bug. *** I can confirm that virtualbox-modules-5.1.16 build just fine with kernel 4.11.0-rc2 without any patching of the kernel. |
Created attachment 457422 [details, diff] patch for kernel 4.10 Kernel 4.10 has struct taint_flag { char true; /* character printed when tainted */ char false; /* character printed when not tainted */ bool module; /* also show as a per-module taint flag */ }; which won't compile if any macro defining 'true' or 'false' is in effect. Furthermore, get_user_pages_remote has got an additional parameter int *locked. My patch doesn't initialize this parameter which might be wrong