#include /* * Do not use. This is a replacement for the old * "interruptible_sleep_on_timeout" function that has been * deprecated for ages. All users should instead try to use * wait_event_interruptible_timeout. */ static inline long oss_broken_sleep_on(wait_queue_head_t *q, long timeout) { DEFINE_WAIT(wait); prepare_to_wait(q, &wait, TASK_INTERRUPTIBLE); timeout = schedule_timeout(timeout); finish_wait(q, &wait); return timeout; }
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:45:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:45:47 -0800
commit24b86839fab8e8059d2b16e0067dc86a1a0d3514 (patch)
treed764e86e2bae3ef57779912ed062be725b1ca431 /sound/soc/codecs/rt5659.h
parent585457fc8383e373ab923e46cd1f70bbfe46763f (diff)
parent0fec9557fd0c5349e3bd1a2141612a60bc20bb71 (diff)
Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull smp/hotplug fix from Thomas Gleixner: "Remove an unused variable which is a leftover from the notifier removal" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Remove unused but set variable in _cpu_down()
Diffstat (limited to 'sound/soc/codecs/rt5659.h')