|
|
@@ -2774,7 +2774,7 @@ Signed-off-by: Christian Lamparter <[email protected]>
|
|
|
+ int i;
|
|
|
+ u32 stat;
|
|
|
+
|
|
|
-+ spin_lock(&edma_cinfo->stats_lock);
|
|
|
++ spin_lock_bh(&edma_cinfo->stats_lock);
|
|
|
+ p = (uint32_t *)&(edma_cinfo->edma_ethstats);
|
|
|
+
|
|
|
+ for (i = 0; i < EDMA_MAX_TRANSMIT_QUEUE; i++) {
|
|
|
@@ -2801,7 +2801,7 @@ Signed-off-by: Christian Lamparter <[email protected]>
|
|
|
+ p++;
|
|
|
+ }
|
|
|
+
|
|
|
-+ spin_unlock(&edma_cinfo->stats_lock);
|
|
|
++ spin_unlock_bh(&edma_cinfo->stats_lock);
|
|
|
+}
|
|
|
+
|
|
|
+static void edma_statistics_timer(struct timer_list *t)
|