*
*/
-#include <sound/driver.h>
#include <sound/core.h>
#include "seq_lock.h"
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