Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139552 Details for
Bug 203634
change in the kernel source (at least for 2.6.23.x) makes nvidia-drivers fail
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for 2.6.23.x kernels
nvidia-fix.patch (text/plain), 1.62 KB, created by
Kristian Kallenberg
on 2007-12-29 01:03:06 UTC
(
hide
)
Description:
patch for 2.6.23.x kernels
Filename:
MIME Type:
Creator:
Kristian Kallenberg
Created:
2007-12-29 01:03:06 UTC
Size:
1.62 KB
patch
obsolete
>diff -urN NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-linux.h NVIDIA-Linux-x86-100.14.11-pkg1-fixed/usr/src/nv/nv-linux.h >--- NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-linux.h 2007-06-14 03:59:58.000000000 +0200 >+++ NVIDIA-Linux-x86-100.14.11-pkg1-fixed/usr/src/nv/nv-linux.h 2007-08-05 21:21:18.000000000 +0200 >@@ -533,7 +533,7 @@ > #define NV_KMEM_CACHE_CREATE(kmem_cache, name, type) \ > { \ > kmem_cache = kmem_cache_create(name, sizeof(type), \ >- 0, 0, NULL, NULL); \ >+ 0, 0, NULL); \ > } > > #define NV_KMEM_CACHE_DESTROY(kmem_cache) \ >diff -urN NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c NVIDIA-Linux-x86-100.14.11-pkg1-fixed/usr/src/nv/nv.c >--- NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c 2007-06-14 03:59:58.000000000 +0200 >+++ NVIDIA-Linux-x86-100.14.11-pkg1-fixed/usr/src/nv/nv.c 2007-08-05 21:21:18.000000000 +0200 >@@ -1566,8 +1566,7 @@ > if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); > #endif > >- if (unregister_chrdev(nv_major, "nvidia") < 0) >- nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); >+ unregister_chrdev(nv_major, "nvidia"); > > for (i = 0; i < num_nv_devices; i++) > { >@@ -1598,8 +1597,7 @@ > > nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); > >- if (unregister_chrdev(nv_major, "nvidia") < 0) >- nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); >+ unregister_chrdev(nv_major, "nvidia"); > > 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 Raw
Actions:
View
Attachments on
bug 203634
:
139550
| 139552