mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
remove scheduling check within a irqsave lock
This commit is contained in:
parent
1f2b051d01
commit
11b665d02d
1 changed files with 1 additions and 2 deletions
|
@ -195,8 +195,7 @@ inline static int spinlock_irqsave_lock(spinlock_irqsave_t* s) {
|
|||
|
||||
ticket = atomic_int32_inc(&s->queue);
|
||||
while (atomic_int32_read(&s->dequeue) != ticket) {
|
||||
//PAUSE;
|
||||
check_scheduling();
|
||||
PAUSE;
|
||||
}
|
||||
|
||||
s->coreid = CORE_ID;
|
||||
|
|
Loading…
Add table
Reference in a new issue