From: Peter Zijlstra Date: Wed, 11 Feb 2015 04:31:13 +0000 (+1030) Subject: module: Replace over-engineered nested sleep X-Git-Tag: fixes-v4.0-rc1~110^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cc019b8c94fa59e02fd82f15f7b7d689e35c190;p=pandora-kernel.git module: Replace over-engineered nested sleep Since the introduction of the nested sleep warning; we've established that the occasional sleep inside a wait_event() is fine. wait_event() loops are invariant wrt. spurious wakeups, and the occasional sleep has a similar effect on them. As long as its occasional its harmless. Therefore replace the 'correct' but verbose wait_woken() thing with a simple annotation to shut up the warning. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Rusty Russell --- Reading git-diff-tree failed