Ignore:
Timestamp:
2025-04-09T16:36:30Z (6 days ago)
Author:
GitHub <noreply@…>
Children:
3acb63b5
Parents:
2c94501 (diff), 597fa24 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Wayne Thornton <wmthornton-dev@…> (2025-04-09 16:36:30)
git-committer:
GitHub <noreply@…> (2025-04-09 16:36:30)
Message:

Merge pull request #3 from HelenOS/master

Enable static initialization of kernel synchronization primitives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/sysinfo.c

    r2c94501 r9f945464  
    5757
    5858/** Sysinfo lock */
    59 static mutex_t sysinfo_lock;
     59static MUTEX_INITIALIZE(sysinfo_lock, MUTEX_ACTIVE);
    6060
    6161/** Sysinfo item constructor
     
    102102            sizeof(sysinfo_item_t), 0, sysinfo_item_constructor,
    103103            sysinfo_item_destructor, SLAB_CACHE_MAGDEFERRED);
    104 
    105         mutex_initialize(&sysinfo_lock, MUTEX_ACTIVE);
    106104}
    107105
Note: See TracChangeset for help on using the changeset viewer.