Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 126674 Details for
Bug 186490
stablize x11-drivers/nvidia-drivers {71.86.01,96.43.01,100.14.19}
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the source for the eager
NVIDIA_kernel-2.6.23.patch (text/plain), 2.15 KB, created by
Arun Raghavan (RETIRED)
on 2007-08-02 06:40:49 UTC
(
hide
)
Description:
Patch to the source for the eager
Filename:
MIME Type:
Creator:
Arun Raghavan (RETIRED)
Created:
2007-08-02 06:40:49 UTC
Size:
2.15 KB
patch
obsolete
>diff -Naur NVIDIA-Linux-x86-100.14.11-pkg0.old/usr/src/nv/nv-linux.h NVIDIA-Linux-x86-100.14.11-pkg0/usr/src/nv/nv-linux.h >--- NVIDIA-Linux-x86-100.14.11-pkg0.old/usr/src/nv/nv-linux.h 2007-08-02 12:00:44.000000000 +0530 >+++ NVIDIA-Linux-x86-100.14.11-pkg0/usr/src/nv/nv-linux.h 2007-08-02 12:05:30.000000000 +0530 >@@ -530,11 +530,19 @@ > free_pages(ptr, order); \ > } > >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23) > #define NV_KMEM_CACHE_CREATE(kmem_cache, name, type) \ > { \ > kmem_cache = kmem_cache_create(name, sizeof(type), \ > 0, 0, NULL, NULL); \ > } >+#else >+#define NV_KMEM_CACHE_CREATE(kmem_cache, name, type) \ >+ { \ >+ kmem_cache = kmem_cache_create(name, sizeof(type), \ >+ 0, 0, NULL); \ >+ } >+#endif > > #define NV_KMEM_CACHE_DESTROY(kmem_cache) \ > { \ >diff -Naur NVIDIA-Linux-x86-100.14.11-pkg0.old/usr/src/nv/nv.c NVIDIA-Linux-x86-100.14.11-pkg0/usr/src/nv/nv.c >--- NVIDIA-Linux-x86-100.14.11-pkg0.old/usr/src/nv/nv.c 2007-08-02 12:00:44.000000000 +0530 >+++ NVIDIA-Linux-x86-100.14.11-pkg0/usr/src/nv/nv.c 2007-08-02 12:04:20.000000000 +0530 >@@ -1566,8 +1566,12 @@ > if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); > #endif > >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23) > if (unregister_chrdev(nv_major, "nvidia") < 0) > nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); >+#else >+ unregister_chrdev(nv_major, "nvidia"); >+#endif > > for (i = 0; i < num_nv_devices; i++) > { >@@ -1598,8 +1602,12 @@ > > nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); > >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23) > if (unregister_chrdev(nv_major, "nvidia") < 0) > nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); >+#else >+ unregister_chrdev(nv_major, "nvidia"); >+#endif > > for (i = 0; i < num_nv_devices; i++) > {
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 186490
:
125915
|
125959
|
126231
|
126233
| 126674 |
137082