All of lore.kernel.org
 help / color / mirror / Atom feed
From: Domen Puncer <domen@coderock.org>
To: kernel-janitors@vger.kernel.org
Subject: [Kernel-janitors] sleep_on removal from drivers/net/shaper.c
Date: Fri, 23 Jul 2004 15:41:28 +0000	[thread overview]
Message-ID: <20040723154128.GA2467@masina> (raw)

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

Hi.

Replaced sleep_on with wait_event.

Comments?


Signed-off-by: Domen Puncer <domen@coderock.org>

--- c/drivers/net/shaper.c	Wed Jun 16 07:19:43 2004
+++ a/drivers/net/shaper.c	Fri Jul 23 17:25:07 2004
@@ -112,7 +112,7 @@
 	while (test_and_set_bit(0, &sh->locked))
 	{
 		if (!in_interrupt())
-			sleep_on(&sh->wait_queue);
+			wait_event(sh->wait_queue, 0);
 		else
 			return 0;
 			

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

             reply	other threads:[~2004-07-23 15:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 15:41 Domen Puncer [this message]
2004-07-23 15:42 ` [Kernel-janitors] sleep_on removal from tokenring/tms389tr.c Domen Puncer

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=20040723154128.GA2467@masina \
    --to=domen@coderock.org \
    --cc=kernel-janitors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.