linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: netdev@vger.kernel.org, Roland Dreier <rdreier@cisco.com>,
	"David S. Miller" <davem@davemloft.net>,
	Jeff Garzik <jeff@garzik.org>,
	linuxppc-dev list <linuxppc-dev@ozlabs.org>
Subject: [PATCH] fix EMAC driver for proper napi_synchronize API
Date: Thu, 18 Oct 2007 09:14:03 +1000	[thread overview]
Message-ID: <1192662843.6783.48.camel@pasglop> (raw)
In-Reply-To: <20071017083107.6a1b1bd3@freepuppy.rosehill>

The EMAC driver "fix" was merged by mistake before the dust had settled on
the new napi synchronize interface (and before it got merged). The final
version of that function is spelled without underscores.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
--- 

Index: linux-work/drivers/net/ibm_newemac/mal.c
===================================================================
--- linux-work.orig/drivers/net/ibm_newemac/mal.c	2007-10-18 08:02:22.000000000 +1000
+++ linux-work/drivers/net/ibm_newemac/mal.c	2007-10-18 08:02:24.000000000 +1000
@@ -322,7 +322,7 @@ void mal_poll_disable(struct mal_instanc
 		msleep(1);
 
 	/* Synchronize with the MAL NAPI poller */
-	__napi_synchronize(&mal->napi);
+	napi_synchronize(&mal->napi);
 }
 
 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac)

  parent reply	other threads:[~2007-10-17 23:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16  5:49 [PATCH/RFC] net: Add __napi_sycnhronize() to sync with napi poll Benjamin Herrenschmidt
2007-10-16  6:06 ` Herbert Xu
2007-10-16  7:37   ` Benjamin Herrenschmidt
2007-10-16  7:44     ` David Miller
2007-10-16 18:53 ` Stephen Hemminger
2007-10-16 21:14   ` Benjamin Herrenschmidt
2007-10-17  2:50   ` Benjamin Herrenschmidt
2007-10-17  2:52   ` Benjamin Herrenschmidt
2007-10-17  3:16     ` Jeff Garzik
2007-10-17  3:24       ` Benjamin Herrenschmidt
2007-10-17 15:31         ` Stephen Hemminger
2007-10-17 21:52           ` Benjamin Herrenschmidt
2007-10-17 22:04           ` [PATCH] net: Add napi_sycnhronize() " Benjamin Herrenschmidt
2007-10-17 23:36             ` Josh Boyer
2007-10-17 23:59               ` Benjamin Herrenschmidt
2007-10-18  1:02             ` Josh Boyer
2007-10-18  1:26               ` Benjamin Herrenschmidt
2007-10-18  1:19             ` Benjamin Herrenschmidt
2007-10-17 23:14           ` Benjamin Herrenschmidt [this message]
2007-10-18  0:21             ` [PATCH] fix EMAC driver for proper napi_synchronize API Jeff Garzik

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=1192662843.6783.48.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=jeff@garzik.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=netdev@vger.kernel.org \
    --cc=rdreier@cisco.com \
    --cc=shemminger@linux-foundation.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).