X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Fseq%2Fseq_lock.c;h=1a34941d42172b8e1d2cedf0c73caba91f4b63c6;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=b09cee058fa7bac3e2ff705a36ef53872d237338;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/sound/core/seq/seq_lock.c b/sound/core/seq/seq_lock.c index b09cee058..1a34941d4 100644 --- a/sound/core/seq/seq_lock.c +++ b/sound/core/seq/seq_lock.c @@ -39,10 +39,11 @@ void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line) snd_printk(KERN_WARNING "seq_lock: timeout [%d left] in %s:%d\n", atomic_read(lockp), file, line); break; } - set_current_state(TASK_UNINTERRUPTIBLE); - schedule_timeout(1); + schedule_timeout_uninterruptible(1); max_count--; } } +EXPORT_SYMBOL(snd_use_lock_sync_helper); + #endif