kolibrios-gitea/kernel/branches/kolibri_pe/core/spinlock.c
Sergey Semyonov (Serge) e7779275eb mixed compilation
git-svn-id: svn://kolibrios.org@854 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-13 19:13:40 +00:00

14 lines
169 B
C

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