| To: | linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH] bcm63xx: use napi_complete instead of __napi_complete |
| From: | Maxime Bizon <mbizon@freebox.fr> |
| Date: | Mon, 1 Jun 2009 19:08:08 +0200 |
| Cc: | Florian Fainelli <florian@openwrt.org>, Maxime Bizon <mbizon@freebox.fr> |
| In-reply-to: | <1243876095-8987-1-git-send-email-mbizon@freebox.fr> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1243876095-8987-1-git-send-email-mbizon@freebox.fr> |
| Sender: | linux-mips-bounce@linux-mips.org |
We're not disabling IRQ, so we must call the irq safe flavour of
napi_complete.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
---
drivers/net/bcm63xx_enet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/bcm63xx_enet.c b/drivers/net/bcm63xx_enet.c
index a91f909..20e08ef 100644
--- a/drivers/net/bcm63xx_enet.c
+++ b/drivers/net/bcm63xx_enet.c
@@ -450,7 +450,7 @@ static int bcm_enet_poll(struct napi_struct *napi, int
budget)
/* no more packet in rx/tx queue, remove device from poll
* queue */
- __napi_complete(napi);
+ napi_complete(napi);
/* restore rx/tx interrupt */
enet_dma_writel(priv, ENETDMA_IR_PKTDONE_MASK,
--
1.6.0.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] bcm63xx: limit number of usb port to 1., Maxime Bizon |
|---|---|
| Next by Date: | [PATCH] bcm63xx: use platform_get_irq in ohci-bcm63xx.c, Maxime Bizon |
| Previous by Thread: | [PATCH] bcm63xx: limit number of usb port to 1., Maxime Bizon |
| Next by Thread: | [PATCH] bcm63xx: use platform_get_irq in ohci-bcm63xx.c, Maxime Bizon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |