kolibrios/kernel/branches/kolibri_pe/core/spinlock.c

14 lines
169 B
C
Raw Normal View History

#include <types.h>
#include <spinlock.h>
#include <core.h>
#ifdef USE_SMP
void spinlock_initialize(spinlock_t *sl)
{
atomic_set(&sl->val, 0);
}
#endif