https://jxself.org/git/linux-libre.git
Raw File
Tip revision: a337d4a6b6de94a6446a9e576a4af04fc1de09da authored by Jason Self on 26 June 2014, 19:13:33 UTC
Linux-libre 3.10.45-gnu
Tip revision: a337d4a
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