View | Details | Raw Unified
Collapse All | Expand All

(-) NVIDIA-Linux-x86-1.0-7185-pkg0-old/usr/src/nv/nv-linux.h (-6 / +4 lines)
 Lines 90-96    Link Here 
int nv_use_cpa = 1;
int nv_use_cpa = 1;
#endif
#endif
static kmem_cache_t *nv_pte_t_cache = NULL;
static struct kmem_cache *nv_pte_t_cache = NULL;
// allow an easy way to convert all debug printfs related to events
// allow an easy way to convert all debug printfs related to events
// back and forth between 'info' and 'errors'
// back and forth between 'info' and 'errors'
 Lines 1463-1470    Link Here 
        if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]);
        if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]);
#endif
#endif
    if (unregister_chrdev(nv_major, "nvidia") < 0)
    unregister_chrdev(nv_major, "nvidia"); 
        nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n");
    for (i = 0; i < num_nv_devices; i++)
    for (i = 0; i < num_nv_devices; i++)
    {
    {
 Lines 1488-1495    Link Here 
    nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n");
    nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n");
    if (unregister_chrdev(nv_major, "nvidia") < 0)
    unregister_chrdev(nv_major, "nvidia"); 
        nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n");
    for (i = 0; i < num_nv_devices; i++)
    for (i = 0; i < num_nv_devices; i++)
    {
    {
 Lines 492-498    Link Here 
#define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
#define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
    {                                                           \
    {                                                           \
        kmem_cache = kmem_cache_create(name, sizeof(type),      \
        kmem_cache = kmem_cache_create(name, sizeof(type),      \
                        0, 0, NULL, NULL);                      \
                        0, 0, NULL);                      \
    } 
    } 
#define NV_KMEM_CACHE_DESTROY(kmem_cache)                       \
#define NV_KMEM_CACHE_DESTROY(kmem_cache)                       \