patch-2.1.34 linux/net/core/dev.c
Next file: linux/net/core/dst.c
Previous file: linux/net/core/datagram.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Apr 14 09:31:10 1997
-  Orig file: 
v2.1.33/linux/net/core/dev.c
-  Orig date: 
Sun Apr 13 10:18:22 1997
diff -u --recursive --new-file v2.1.33/linux/net/core/dev.c linux/net/core/dev.c
@@ -122,7 +122,7 @@
  *	Device list lock
  */
  
-atomic_t dev_lockct=0;
+atomic_t dev_lockct = ATOMIC_INIT;
  
 /*
  *	Our notifier list
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov