1
0
Fork 0

ieee1394: ieee1394_transactions needs sched.h

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)
drivers/ieee1394/ieee1394_transactions.c:183: error: (Each undeclared
identifier is reported only once

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (added comment)
hifive-unleashed-5.1
Torsten Kaiser 2007-04-09 21:03:15 +02:00 committed by Stefan Richter
parent 504945c9c6
commit 3a23a81e83
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include <linux/bitops.h>
#include <linux/hardirq.h>
#include <linux/spinlock.h>
#include <linux/sched.h> /* because linux/wait.h is broken if CONFIG_SMP=n */
#include <linux/wait.h>
#include <asm/bug.h>