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

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