https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 0558ba13697f5e2da42509def992a69c2ccc7429 authored by Jason Self on 24 October 2011, 07:10:51 UTC
Linux-libre 3.1-gnu1
Tip revision: 0558ba1
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;
} arch_spinlock_t;

#define __ARCH_SPIN_LOCK_UNLOCKED	{ 0 }

typedef struct {
	volatile unsigned int lock;
} arch_rwlock_t;

#define __ARCH_RW_LOCK_UNLOCKED		{ 0 }

#endif
back to top