Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/mac68k/dev Pull up revision 1.35 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/1967d9ba9ca0
branches:  netbsd-1-4
changeset: 469862:1967d9ba9ca0
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 16 22:45:02 1999 +0000

description:
Pull up revision 1.35 (requested by scottr):
  Make adbInCount volatile to fix problems uncovered by aggressive
  optimization.

diffstat:

 sys/arch/mac68k/dev/adb_direct.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9f91f4ebddb9 -r 1967d9ba9ca0 sys/arch/mac68k/dev/adb_direct.c
--- a/sys/arch/mac68k/dev/adb_direct.c  Thu Dec 16 22:42:17 1999 +0000
+++ b/sys/arch/mac68k/dev/adb_direct.c  Thu Dec 16 22:45:02 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adb_direct.c,v 1.21.2.4 1999/11/29 21:20:37 he Exp $   */
+/*     $NetBSD: adb_direct.c,v 1.21.2.5 1999/12/16 22:45:02 he Exp $   */
 
 /* From: adb_direct.c 2.02 4/18/97 jpw */
 
@@ -249,7 +249,7 @@
 int    ADBNumDevices;          /* num. of ADB devices found with ADBReInit */
 
 struct adbCommand adbInbound[ADB_QUEUE];       /* incoming queue */
-int    adbInCount = 0;                 /* how many packets in in queue */
+volatile int   adbInCount = 0;         /* how many packets in in queue */
 int    adbInHead = 0;                  /* head of in queue */
 int    adbInTail = 0;                  /* tail of in queue */
 struct adbCommand adbOutbound[ADB_QUEUE]; /* outgoing queue - not used yet */



Home | Main Index | Thread Index | Old Index