On Mon, Dec 05, 2011 at 01:09:49PM +0530, Vinod Koul wrote: > +static inline void snd_compr_fragment_elapsed(struct snd_compr_stream *stream) > +{ > + wake_up(&stream->runtime->sleep); > +} You need to include sched.h for this.