public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] introduce wait_event_common()
@ 2013-06-24 15:43 Oleg Nesterov
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Oleg Nesterov @ 2013-06-24 15:43 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Daniel Vetter, Imre Deak, Julian Anastasov, Lukas Czerner,
	Ralf Baechle, Samuel Ortiz, Simon Horman, Tejun Heo,
	Wensong Zhang, linux-kernel

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(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-24 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 15:43 [PATCH v2 0/2] introduce wait_event_common() Oleg Nesterov
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox