Lines 90-96
Link Here
|
90 |
int nv_use_cpa = 1; |
90 |
int nv_use_cpa = 1; |
91 |
#endif |
91 |
#endif |
92 |
|
92 |
|
93 |
static kmem_cache_t *nv_pte_t_cache = NULL; |
93 |
static struct kmem_cache *nv_pte_t_cache = NULL; |
94 |
|
94 |
|
95 |
// allow an easy way to convert all debug printfs related to events |
95 |
// allow an easy way to convert all debug printfs related to events |
96 |
// back and forth between 'info' and 'errors' |
96 |
// back and forth between 'info' and 'errors' |
Lines 1463-1470
Link Here
|
1463 |
if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); |
1463 |
if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); |
1464 |
#endif |
1464 |
#endif |
1465 |
|
1465 |
|
1466 |
if (unregister_chrdev(nv_major, "nvidia") < 0) |
1466 |
unregister_chrdev(nv_major, "nvidia"); |
1467 |
nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); |
|
|
1468 |
|
1467 |
|
1469 |
for (i = 0; i < num_nv_devices; i++) |
1468 |
for (i = 0; i < num_nv_devices; i++) |
1470 |
{ |
1469 |
{ |
Lines 1488-1495
Link Here
|
1488 |
|
1487 |
|
1489 |
nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); |
1488 |
nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); |
1490 |
|
1489 |
|
1491 |
if (unregister_chrdev(nv_major, "nvidia") < 0) |
1490 |
unregister_chrdev(nv_major, "nvidia"); |
1492 |
nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); |
|
|
1493 |
|
1491 |
|
1494 |
for (i = 0; i < num_nv_devices; i++) |
1492 |
for (i = 0; i < num_nv_devices; i++) |
1495 |
{ |
1493 |
{ |