sched/wait: Collapse __wait_event_hrtimeout()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 2 Oct 2013 09:22:32 +0000 (11:22 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Oct 2013 08:16:22 +0000 (10:16 +0200)
commitebdc195f2ec68576876216081035293e37318e86
treeaa33d7ec32e33b9a1dcf7496b08975270ee5a364
parentcf7361fd961b6f0510572af6cf8ca3ffba07018b
sched/wait: Collapse __wait_event_hrtimeout()

While not a whole-sale replacement like the others we can still reduce
the size of __wait_event_hrtimeout() considerably by noting that the
actual core of __wait_event_hrtimeout() is identical to what
___wait_event() generates.

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