https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 77d8dc51c6c5c68becc4746bf916637cd457f51a authored by Jason Self on 09 September 2009, 22:14:07 UTC
Linux-libre 2.6.31-gnu1
Tip revision: 77d8dc5
spinlock_types.h
#ifndef _ALPHA_SPINLOCK_TYPES_H
#define _ALPHA_SPINLOCK_TYPES_H

#ifndef __LINUX_SPINLOCK_TYPES_H
# error "please don't include this file directly"
#endif

typedef struct {
	volatile unsigned int lock;
} raw_spinlock_t;

#define __RAW_SPIN_LOCK_UNLOCKED	{ 0 }

typedef struct {
	volatile unsigned int lock;
} raw_rwlock_t;

#define __RAW_RW_LOCK_UNLOCKED		{ 0 }

#endif
back to top