Return to spinlock.h CVS log | Up to [local] / sys / arch / hppa / include |
1.1 ! nbrk 1: /* $OpenBSD: spinlock.h,v 1.2 2005/12/19 21:30:10 marco Exp $ */ ! 2: ! 3: #ifndef _MACHINE_SPINLOCK_H_ ! 4: #define _MACHINE_SPINLOCK_H_ ! 5: ! 6: #define _SPINLOCK_UNLOCKED (1) ! 7: #define _SPINLOCK_LOCKED (0) ! 8: typedef int _spinlock_lock_t __attribute__((__aligned__(16))); ! 9: ! 10: #endif