kernel: update 3.10 to 3.10.21
[openwrt.git] / target / linux / mpc85xx / patches-3.10 / 200-fix_gianfar_napi_poll.patch
index a1877be921e8e9c398226595a3640905fb08e0af..77cbc67ebcc6a0203bc04a20a656d2fb427f44f3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/ethernet/freescale/gianfar.c
 +++ b/drivers/net/ethernet/freescale/gianfar.c
-@@ -2835,7 +2835,7 @@ static int gfar_poll(struct napi_struct 
+@@ -2835,7 +2835,7 @@ static int gfar_poll(struct napi_struct
        struct gfar_priv_rx_q *rx_queue = NULL;
        int work_done = 0, work_done_per_q = 0;
        int i, budget_per_q = 0;
@@ -9,7 +9,7 @@
        unsigned long rstat_rxf;
        int num_act_queues;
  
-@@ -2850,62 +2850,48 @@ static int gfar_poll(struct napi_struct 
+@@ -2850,62 +2850,48 @@ static int gfar_poll(struct napi_struct
        if (num_act_queues)
                budget_per_q = budget/num_act_queues;