Subversion Repositories HelenOS

Rev

Rev 430 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 430 Rev 458
Line 31... Line 31...
31
 
31
 
32
#include <arch/types.h>
32
#include <arch/types.h>
33
#include <typedefs.h>
33
#include <typedefs.h>
34
#include <preemption.h>
34
#include <preemption.h>
35
 
35
 
36
#ifdef __SMP__
36
#ifdef CONFIG_SMP
37
struct spinlock {
37
struct spinlock {
38
    int val;
38
    int val;
39
};
39
};
40
 
40
 
41
extern void spinlock_initialize(spinlock_t *sl);
41
extern void spinlock_initialize(spinlock_t *sl);