summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-04 19:11:26 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-04 19:11:26 +0000
commit986d57f22b3f8697eee257f3f77c5bb9d1d092ef (patch)
treead1d37a270ad8e342d9cf8eb7bb4b4b586ba265f /sys/kern/kern_lock.c
parent10b9d7be19b22feb03c9b6937510f232b92da80f (diff)
downloadFreeBSD-src-986d57f22b3f8697eee257f3f77c5bb9d1d092ef.zip
FreeBSD-src-986d57f22b3f8697eee257f3f77c5bb9d1d092ef.tar.gz
pushed down "volatility" of simplelock to actual int inside the struct.
Submitted by: bde@zeta.org.au, smp@csn.net
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 69510b3..9fbbb74 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)kern_lock.c 8.18 (Berkeley) 5/21/95
- * $Id: kern_lock.c,v 1.5 1997/03/25 17:11:30 peter Exp $
+ * $Id: kern_lock.c,v 1.1 1997/08/04 17:46:51 smp Exp smp $
*/
#include <sys/param.h>
@@ -156,7 +156,7 @@ lockstatus(lkp)
*/
int
lockmgr(lkp, flags, interlkp, p)
- __volatile struct lock *lkp;
+ struct lock *lkp;
u_int flags;
struct simplelock *interlkp;
struct proc *p;
@@ -466,7 +466,7 @@ simple_lock_init(alp)
void
_simple_lock(alp, id, l)
- __volatile struct simplelock *alp;
+ struct simplelock *alp;
const char *id;
int l;
{
@@ -494,7 +494,7 @@ _simple_lock(alp, id, l)
int
_simple_lock_try(alp, id, l)
- __volatile struct simplelock *alp;
+ struct simplelock *alp;
const char *id;
int l;
{
@@ -511,7 +511,7 @@ _simple_lock_try(alp, id, l)
void
_simple_unlock(alp, id, l)
- __volatile struct simplelock *alp;
+ struct simplelock *alp;
const char *id;
int l;
{
OpenPOWER on IntegriCloud