]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddd25100088353ef744690243e40dd03b61332c1
tree471463407abfba85648ffb6f0a720ea55e1dbe0b
parente8e87ef2ac3046d3f6860fbffb110e5b47686169
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