[lkml]   [2009]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Staging: comedi: Add include of <linux/sched.h> to fix build
On Fri, Oct 09, 2009 at 10:42:09AM -0700, Roland Dreier wrote:
> Commit a99bbaf5 ("headers: remove sched.h from poll.h") removed the
> implicit include of <linux/sched.h> via <linux/poll.h>, and broke the
> comedi build with errors like:
> drivers/staging/comedi/drivers/serial2002.c:201: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
> Explicitly include <linux/sched.h> to fix this.
> Signed-off-by: Roland Dreier <>

Heh, this is already in my tree, and will be sent to Linus today.


greg k-h

 \ /
  Last update: 2009-10-09 20:37    [W:0.049 / U:0.704 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site