diff options
author | 2006-11-14 19:32:53 +0000 | |
---|---|---|
committer | 2006-11-14 19:32:53 +0000 | |
commit | 9f3606ad14a141797d1619ffeee2eb3d8ecd066e (patch) | |
tree | 86867caab290f567592eb5780cf381d83f74c973 | |
parent | grammar, spelling, and style fixes from bret lambert; (diff) | |
download | wireguard-openbsd-9f3606ad14a141797d1619ffeee2eb3d8ecd066e.tar.xz wireguard-openbsd-9f3606ad14a141797d1619ffeee2eb3d8ecd066e.zip |
match other architectures: _spinlock_lock_t is not volatile itself, but
code that uses it declares a volatile form
-rw-r--r-- | sys/arch/sh/include/spinlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/include/spinlock.h b/sys/arch/sh/include/spinlock.h index c5c2047824f..e40f317954f 100644 --- a/sys/arch/sh/include/spinlock.h +++ b/sys/arch/sh/include/spinlock.h @@ -1,4 +1,4 @@ -/* $OpenBSD: spinlock.h,v 1.1.1.1 2006/10/06 21:02:55 miod Exp $ */ +/* $OpenBSD: spinlock.h,v 1.2 2006/11/14 19:32:53 deraadt Exp $ */ /* $NetBSD: lock.h,v 1.10 2006/01/03 01:29:46 uwe Exp $ */ /*- @@ -44,7 +44,7 @@ #ifndef _SH_SPINLOCK_H_ #define _SH_SPINLOCK_H_ -typedef volatile u_int8_t _spinlock_lock_t; +typedef u_int8_t _spinlock_lock_t; #define _SPINLOCK_LOCKED 0x80 #define _SPINLOCK_UNLOCKED 0x00 |