From: Oleg Nesterov <oleg@redhat.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
Imre Deak <imre.deak@intel.com>, Julian Anastasov <ja@ssi.bg>,
Lukas Czerner <lczerner@redhat.com>,
Ralf Baechle <ralf@linux-mips.org>,
Samuel Ortiz <samuel@sortiz.org>,
Simon Horman <horms@verge.net.au>, Tejun Heo <tj@kernel.org>,
Wensong Zhang <wensong@linux-vs.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] introduce wait_event_common()
Date: Mon, 24 Jun 2013 17:43:56 +0200 [thread overview]
Message-ID: <20130624154356.GA29728@redhat.com> (raw)
Hello.
The changes in include/linux/wait.h are the same.
However 1/2 has to update the callers of __wait_event_interruptible().
The fix is very simple:
- __wait_event_interruptible(wq, cond, ret);
+ ret = __wait_event_interruptible(wq, cond);
but obviously untested.
Oleg.
arch/mips/kernel/rtlx.c | 17 ++--
include/linux/wait.h | 183 +++++++++++++++------------------------
kernel/wait.c | 13 +++
net/irda/af_irda.c | 5 +-
net/netfilter/ipvs/ip_vs_sync.c | 5 +-
5 files changed, 95 insertions(+), 128 deletions(-)
next reply other threads:[~2013-06-24 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-24 15:43 Oleg Nesterov [this message]
2013-06-24 15:44 ` [PATCH v2 1/2] wait: introduce wait_event_common(wq, condition, state, timeout) Oleg Nesterov
2013-06-24 15:44 ` [PATCH v2 2/2] wait: introduce prepare_to_wait_event() Oleg Nesterov
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=20130624154356.GA29728@redhat.com \
--to=oleg@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=daniel.vetter@ffwll.ch \
--cc=horms@verge.net.au \
--cc=imre.deak@intel.com \
--cc=ja@ssi.bg \
--cc=lczerner@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=samuel@sortiz.org \
--cc=tj@kernel.org \
--cc=wensong@linux-vs.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.