sched/wait: Introduce ___wait_event()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 2 Oct 2013 09:22:21 +0000 (11:22 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Oct 2013 08:14:46 +0000 (10:14 +0200)
commit41a1431b178c3b731d6dfc40b987528b333dd93e
tree471463407abfba85648ffb6f0a720ea55e1dbe0b
parentbb632bc44970f75b66df102e831a4fc0692e9159
sched/wait: Introduce ___wait_event()

There's far too much duplication in the __wait_event macros; in order
to fix this introduce ___wait_event() a macro with the capability to
replace most other macros.

With the previous patches changing the various __wait_event*()
implementations to be more uniform; we can now collapse the lot
without also changing generated code.

Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20131002092528.181897111@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/wait.h