Changeset 3bacee1 in mainline for kernel/generic/src/synch/futex.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/futex.c

    r76d0981d r3bacee1  
    171171                /* Invoke the blocking cht_destroy in the background. */
    172172                workq_global_enqueue_noblock(&task->futexes->destroy_work,
    173                         destroy_task_cache);
     173                    destroy_task_cache);
    174174        } else {
    175175                /* We can block. Invoke cht_destroy in this thread. */
     
    182182{
    183183        struct futex_cache *cache =
    184                 member_to_inst(work, struct futex_cache, destroy_work);
     184            member_to_inst(work, struct futex_cache, destroy_work);
    185185
    186186        /*
     
    319319
    320320        if (futex_ptr_link) {
    321                 futex_ptr_t *futex_ptr
    322                         = member_to_inst(futex_ptr_link, futex_ptr_t, cht_link);
     321                futex_ptr_t *futex_ptr =
     322                    member_to_inst(futex_ptr_link, futex_ptr_t, cht_link);
    323323
    324324                futex = futex_ptr->futex;
     
    485485static size_t task_fut_ht_key_hash(void *key)
    486486{
    487         return *(uintptr_t*)key;
     487        return *(uintptr_t *)key;
    488488}
    489489
     
    499499{
    500500        const futex_ptr_t *fut_ptr = member_to_inst(item, futex_ptr_t, cht_link);
    501         uintptr_t uaddr = *(uintptr_t*)key;
     501        uintptr_t uaddr = *(uintptr_t *)key;
    502502
    503503        return fut_ptr->uaddr == uaddr;
Note: See TracChangeset for help on using the changeset viewer.