uses definitions from (was Re: 2.6.21-rc6-mm1)

Stefan Richter
2007-04-09T21:43:19Z

Torsten Kaiser wrote:
> drivers/ieee1394/ieee1394_transactions.c fails for me if CONFIG_SMP=n
>
> gcc complains:
> CC drivers/ieee1394/ieee1394_transactions.o
> drivers/ieee1394/ieee1394_transactions.c: In function 'hpsb_get_tlabel':
> drivers/ieee1394/ieee1394_transactions.c:183: error:
> 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
[...]
> I fixed this by adding #include <linux/sched.h> before #include
> <linux/wait.h>
> But that is probably not the correct fix, but gives me a working kernel.

Thanks, I'll add this to linux1394-2.6.git (which exposed the problem)
ASAP. On the other hand, the culprit is actually include/linux/wait.h
which IMO should include the headers it needs for itself.
--
Stefan Richter
-=====-=-=== -=-- -=--=