Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ba7371f9 in mainline


Ignore:
Timestamp:
2010-05-22T22:33:00Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
0cb47cf
Parents:
d92bf46
Message:

rename spinlocks to be more descriptive

Location:
kernel
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/smp/sun4v/smp.c

    rd92bf46 rba7371f9  
    2828 */
    2929
    30 /** @addtogroup sparc64 
     30/** @addtogroup sparc64
    3131 * @{
    3232 */
     
    292292                                exec_units[i].strand_count = 0;
    293293                                atomic_set(&(exec_units[i].nrdy), 0);
    294                                 spinlock_initialize(&(exec_units[i].proposed_nrdy_lock), "proposed nrdy lock");
     294                                spinlock_initialize(&(exec_units[i].proposed_nrdy_lock), "exec_units[].proposed_nrdy_lock");
    295295                                exec_unit_count++;
    296296                        }
     
    330330                exec_units[0].strand_count = cpu_count;
    331331                exec_units[0].exec_unit_id = 1;
    332                 spinlock_initialize(&(exec_units[0].proposed_nrdy_lock), "proposed nrdy lock");
     332                spinlock_initialize(&(exec_units[0].proposed_nrdy_lock), "exec_units[0].proposed_nrdy_lock");
    333333                atomic_set(&(exec_units[0].nrdy), 0);
    334334                max_core_strands = cpu_count;
  • kernel/genarch/src/drivers/via-cuda/cuda.c

    rd92bf46 rba7371f9  
    9999                instance->snd_bytes = 0;
    100100
    101                 spinlock_initialize(&instance->dev_lock, "cuda_dev");
     101                spinlock_initialize(&instance->dev_lock, "cuda.instance.dev_lock");
    102102
    103103                /* Disable all interrupts from CUDA. */
  • kernel/genarch/src/fb/fb.c

    rd92bf46 rba7371f9  
    554554        fbdev->data = instance;
    555555       
    556         spinlock_initialize(&instance->lock, "*fb_lock");
     556        spinlock_initialize(&instance->lock, "*fb.instance.lock");
    557557        instance->rgb_conv = rgb_conv;
    558558        instance->pixelbytes = pixelbytes;
  • kernel/genarch/src/kbrd/kbrd.c

    rd92bf46 rba7371f9  
    169169                indev_initialize("kbrd", &instance->raw, &kbrd_raw_ops);
    170170               
    171                 spinlock_initialize(&instance->keylock, "instance_keylock");
     171                spinlock_initialize(&instance->keylock, "kbrd.instance.keylock");
    172172                instance->keyflags = 0;
    173173                instance->lockflags = 0;
  • kernel/genarch/src/kbrd/kbrd_pl050.c

    rd92bf46 rba7371f9  
    181181                indev_initialize("kbrd", &instance->raw, &kbrd_raw_ops);
    182182               
    183                 spinlock_initialize(&instance->keylock, "instance_keylock");
     183                spinlock_initialize(&instance->keylock, "kbrd_pl050.instance.keylock");
    184184                instance->keyflags = 0;
    185185                instance->lockflags = 0;
Note: See TracChangeset for help on using the changeset viewer.