From: Johan Hedberg Date: Fri, 30 Jan 2015 11:14:36 +0000 (+0200) Subject: sched/wait: Introduce wait_on_bit_timeout() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~163^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44fc0e5eec00db5fba748803c95920098089c4cc;p=pandora-kernel.git sched/wait: Introduce wait_on_bit_timeout() Add a new wait_on_bit_timeout() helper, basically the same as wait_on_bit() except that it also takes a 'timeout' parameter. All the building blocks like bit_wait_timeout() and out_of_line_wait_on_bit_timeout() are already in place so the addition is rather simple. Signed-off-by: Johan Hedberg Signed-off-by: Peter Zijlstra (Intel) Cc: davem@davemloft.net Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1422616476-2917-2-git-send-email-johan.hedberg@gmail.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed