]> git.baikalelectronics.ru Git - kernel.git/commit
sched/wait: Make the __wait_event*() interface more friendly
authorPeter Zijlstra <peterz@infradead.org>
Wed, 2 Oct 2013 09:22:33 +0000 (11:22 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Oct 2013 08:16:25 +0000 (10:16 +0200)
commit447dc7eefe506305e60c97bb2c692bc206cd328f
tree10b28670fb387984751de104913db9408ade8741
parent144bf5c60c456f27e4d5f0fb06e71901d87facf8
sched/wait: Make the __wait_event*() interface more friendly

Change all __wait_event*() implementations to match the corresponding
wait_event*() signature for convenience.

In particular this does away with the weird 'ret' logic. Since there
are __wait_event*() users this requires we update them too.

Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20131002092529.042563462@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/mips/kernel/rtlx.c
include/linux/tty.h
include/linux/wait.h
net/irda/af_irda.c
net/netfilter/ipvs/ip_vs_sync.c