Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 481804 Details for
Bug 623736
sys-power/bbswitch-0.8 patch for >=linux 4.12
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sys-power/bbswitch-0.8 patch for >=linux 4.12
uaccess.patch (text/plain), 528 bytes, created by
Niranjan
on 2017-07-08 05:15:47 UTC
(
hide
)
Description:
sys-power/bbswitch-0.8 patch for >=linux 4.12
Filename:
MIME Type:
Creator:
Niranjan
Created:
2017-07-08 05:15:47 UTC
Size:
528 bytes
patch
obsolete
>diff -uNr bbswitch-0.8/bbswitch.c bbswitch-0.8-new/bbswitch.c >--- bbswitch-0.8/bbswitch.c 2013-12-04 18:22:06.000000000 -0500 >+++ bbswitch-0.8-new/bbswitch.c 2017-07-08 01:11:54.588545766 -0400 >@@ -31,7 +31,14 @@ > #include <linux/pci.h> > #include <linux/acpi.h> > #include <linux/module.h> >+#include <linux/version.h> >+ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0) >+#include <linux/uaccess.h> >+#else > #include <asm/uaccess.h> >+#endif >+ > #include <linux/suspend.h> > #include <linux/seq_file.h> > #include <linux/pm_runtime.h>
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 623736
:
480590
|
480592
|
480594
|
481732
|
481802
| 481804 |
486488