This commit was generated by cvs2svn to compensate for changes in r1129,
[linux-2.6.git] / net / sched / estimator.c
index f39a518..5d3ae03 100644 (file)
@@ -95,7 +95,7 @@ struct qdisc_estimator_head
 static struct qdisc_estimator_head elist[EST_MAX_INTERVAL+1];
 
 /* Estimator array lock */
-static rwlock_t est_lock = RW_LOCK_UNLOCKED;
+static DEFINE_RWLOCK(est_lock);
 
 static void est_timer(unsigned long arg)
 {