Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 310809 Details for
Bug 414645
x11-drivers/nvidia-drivers with linux 3.4.0 - .../work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Linux 3.4.0+ friendly patch
linux-3.4.0.patch (text/plain), 1.23 KB, created by
Daniel Santos
on 2012-05-04 21:17:18 UTC
(
hide
)
Description:
Linux 3.4.0+ friendly patch
Filename:
MIME Type:
Creator:
Daniel Santos
Created:
2012-05-04 21:17:18 UTC
Size:
1.23 KB
patch
obsolete
>diff --git a/kernel/conftest.sh b/kernel/conftest.sh >index 1556df7..4a2fc44 100755 >--- a/kernel/conftest.sh >+++ b/kernel/conftest.sh >@@ -512,7 +512,10 @@ compile_test() { > # and if it as an 'event' member. > # > echo "$CONFTEST_PREAMBLE >- #include <asm/system.h> >+ #include <linux/version.h> >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) >+#include <asm/system.h> >+#endif > #include <linux/pm.h> > void conftest_pm_message_t(pm_message_t state) { > pm_message_t *p = &state; >diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h >index 772a095..4811809 100644 >--- a/kernel/nv-linux.h >+++ b/kernel/nv-linux.h >@@ -111,7 +111,9 @@ > #include <linux/timer.h> > > #include <asm/div64.h> /* do_div() */ >-#include <asm/system.h> /* cli, sli, save_flags */ >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) >+#include <asm/system> >+#endif /* cli, sli, save_flags */ > #include <asm/io.h> /* ioremap, virt_to_phys */ > #include <asm/uaccess.h> /* access_ok */ > #include <asm/page.h> /* PAGE_OFFSET */
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 414645
:
310807
| 310809 |
310811