Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preemption Safety Fixes and Miscellaneous Improvements #76

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions driver/cyclic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2863,7 +2863,7 @@ cyclic_mp_init()
{
cpu_t *c;

dmutex_enter(&cpu_lock);
mutex_enter(&cpu_lock);

c = cpu_list;
do {
Expand All @@ -2874,7 +2874,7 @@ cyclic_mp_init()
} while ((c = c->cpu_next) != cpu_list);

register_cpu_setup_func((cpu_setup_func_t *)cyclic_cpu_setup, NULL);
dmutex_exit(&cpu_lock);
mutex_exit(&cpu_lock);
}

/*
Expand Down
Loading