Subversion Repositories HelenOS-historic

Rev

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

Rev 1100 Rev 1104
Line 30... Line 30...
30
#define __SPINLOCK_H__
30
#define __SPINLOCK_H__
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
#include <arch/atomic.h>
35
#include <atomic.h>
36
#include <debug.h>
36
#include <debug.h>
37
 
37
 
38
#ifdef CONFIG_SMP
38
#ifdef CONFIG_SMP
39
struct spinlock {
39
struct spinlock {
40
#ifdef CONFIG_DEBUG_SPINLOCK
40
#ifdef CONFIG_DEBUG_SPINLOCK