Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 186490 | Differences between
and this patch

Collapse All | Expand All

(-)NVIDIA-Linux-x86-1.0-7185-pkg0-old/usr/src/nv/nv.c (-5 / +3 lines)
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
    {
(-)NVIDIA-Linux-x86-1.0-7185-pkg0-old/usr/src/nv/nv-linux.h (-1 / +1 lines)
Lines 492-498 Link Here
492
#define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
492
#define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
493
    {                                                           \
493
    {                                                           \
494
        kmem_cache = kmem_cache_create(name, sizeof(type),      \
494
        kmem_cache = kmem_cache_create(name, sizeof(type),      \
495
                        0, 0, NULL, NULL);                      \
495
                        0, 0, NULL);                      \
496
    } 
496
    } 
497
497
498
#define NV_KMEM_CACHE_DESTROY(kmem_cache)                       \
498
#define NV_KMEM_CACHE_DESTROY(kmem_cache)                       \

Return to bug 186490