Changeset a92290d in mainline


Ignore:
Timestamp:
2025-04-10T17:25:13Z (4 days ago)
Author:
GitHub <noreply@…>
Children:
c0d814a
Parents:
3acb63b5 (diff), a78b0a0 (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-10 17:25:13)
git-committer:
GitHub <noreply@…> (2025-04-10 17:25:13)
Message:

Merge pull request #5 from HelenOS/master

Use static initialization for ap_completion_semaphore

Location:
kernel/generic/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r3acb63b5 ra92290d  
    108108#ifdef CONFIG_SMP
    109109        if (config.cpu_count > 1) {
    110                 semaphore_initialize(&ap_completion_semaphore, 0);
    111 
    112110                /*
    113111                 * Create the kmp thread and wait for its completion.
  • kernel/generic/src/smp/smp.c

    r3acb63b5 ra92290d  
    3939#ifdef CONFIG_SMP
    4040
    41 semaphore_t ap_completion_semaphore;
     41SEMAPHORE_INITIALIZE(ap_completion_semaphore, 0);
    4242
    4343#endif /* CONFIG_SMP */
Note: See TracChangeset for help on using the changeset viewer.