diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-14 19:32:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-14 19:32:54 +0000 |
commit | 9c4fffd76b3a932cabb029f6e52107800e865ac8 (patch) | |
tree | daee2c15c39abf912d1c773d9e87e8c89950d4f1 /sys/arch/sh/include | |
parent | 34bbb4b424903cb41ab2282ced986b7df8d833e8 (diff) |
match other architectures: _spinlock_lock_t is not volatile itself, but
code that uses it declares a volatile form
Diffstat (limited to 'sys/arch/sh/include')
-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 6fc31bec819..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 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 |