1
0
Fork 0
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:
Stefan Lankes 2017-05-23 19:12:45 +02:00
parent 1f2b051d01
commit 11b665d02d

View file

@ -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;