linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxime Bizon <mbizon@freebox.fr>
To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Cc: Florian Fainelli <florian@openwrt.org>, Maxime Bizon <mbizon@freebox.fr>
Subject: [PATCH 02/10] bcm63xx: use napi_complete instead of __napi_complete
Date: Mon,  1 Jun 2009 19:21:50 +0200	[thread overview]
Message-ID: <1243876918-9905-3-git-send-email-mbizon@freebox.fr> (raw)
In-Reply-To: <1243876918-9905-1-git-send-email-mbizon@freebox.fr>

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

  parent reply	other threads:[~2009-06-01 17:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01 17:21 More updates to bcm63xx support (resend) Maxime Bizon
2009-06-01 17:21 ` [PATCH 01/10] bcm63xx: remove duplicate init fields Maxime Bizon
2009-06-01 18:07   ` Florian Fainelli
2009-06-01 17:21 ` Maxime Bizon [this message]
2009-06-01 18:09   ` [PATCH 02/10] bcm63xx: use napi_complete instead of __napi_complete Florian Fainelli
2009-06-01 17:21 ` [PATCH 03/10] bcm63xx: convert bcm63xx_enet to netdev ops Maxime Bizon
2009-06-01 18:10   ` Florian Fainelli
2009-06-01 17:21 ` [PATCH 04/10] bcm63xx: limit number of usb port to 1 Maxime Bizon
2009-06-01 18:10   ` Florian Fainelli
2009-06-01 17:21 ` [PATCH 05/10] bcm63xx: use platform_get_irq in ohci-bcm63xx.c Maxime Bizon
2009-06-01 18:11   ` Florian Fainelli
2009-06-01 17:21 ` [PATCH 06/10] bcm63xx: don't set bus type " Maxime Bizon
2009-06-01 18:11   ` Florian Fainelli
2009-06-01 17:21 ` [PATCH 07/10] bcm63xx: clarify meaning of the magical value " Maxime Bizon
2009-06-01 18:11   ` Florian Fainelli
2009-06-01 18:38   ` [PATCH 07/10 (v2)] " Maxime Bizon
2009-06-01 17:21 ` [PATCH 08/10] bcm63xx: use platform_get_irq in ehci-bcm63xx.c Maxime Bizon
2009-06-01 18:12   ` Florian Fainelli
2009-06-01 17:21 ` [PATCH 09/10] bcm63xx: don't set bus type " Maxime Bizon
2009-06-01 18:12   ` Florian Fainelli
2009-06-01 17:21 ` [PATCH 10/10] bcm63xx: clarify meaning of the magical value " Maxime Bizon
2009-06-01 17:57   ` Sergei Shtylyov
2009-06-01 18:36     ` [PATCH 10/10 (v2)] " Maxime Bizon
2009-06-01 18:12   ` [PATCH 10/10] " Florian Fainelli
2009-06-02  9:41 ` More updates to bcm63xx support (resend) Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243876918-9905-3-git-send-email-mbizon@freebox.fr \
    --to=mbizon@freebox.fr \
    --cc=florian@openwrt.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).