Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Separate the spl calls in UILOCK with a semicolon as...



details:   https://anonhg.NetBSD.org/src/rev/de5ebc0200b7
branches:  trunk
changeset: 580808:de5ebc0200b7
user:      jmc <jmc%NetBSD.org@localhost>
date:      Mon May 09 18:34:09 2005 +0000

description:
Separate the spl calls in UILOCK with a semicolon as the comma blows up on vax

diffstat:

 sys/sys/resourcevar.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 879105bbb095 -r de5ebc0200b7 sys/sys/resourcevar.h
--- a/sys/sys/resourcevar.h     Mon May 09 17:19:06 2005 +0000
+++ b/sys/sys/resourcevar.h     Mon May 09 18:34:09 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: resourcevar.h,v 1.27 2005/05/09 11:10:07 christos Exp $        */
+/*     $NetBSD: resourcevar.h,v 1.28 2005/05/09 18:34:09 jmc Exp $     */
 
 /*
  * Copyright (c) 1991, 1993
@@ -99,8 +99,8 @@
 
 };
 #define        UIHASH(uid)     (&uihashtbl[(uid) & uihash])
-#define UILOCK(uip, s)         s = splsoftnet(), simple_lock(&uip->ui_slock)
-#define UIUNLOCK(uip, s)       simple_lock(&uip->ui_slock), splx(s)
+#define UILOCK(uip, s)         s = splsoftnet(); simple_lock(&uip->ui_slock)
+#define UIUNLOCK(uip, s)       simple_lock(&uip->ui_slock); splx(s)
 
 extern LIST_HEAD(uihashhead, uidinfo) *uihashtbl;
 extern u_long uihash;          /* size of hash table - 1 */



Home | Main Index | Thread Index | Old Index