diff options
author | Torsten Kaiser <just.for.lkml@googlemail.com> | 2007-04-09 19:03:15 (GMT) |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-29 22:00:29 (GMT) |
commit | 3a23a81e83fddb40ec0242c74acb4b1829676bfc (patch) | |
tree | 0e509f2fa5c91ad5a03b2c5e09a1326614e1cc1f /drivers/ieee1394/ieee1394_transactions.c | |
parent | 504945c9c6954b83758272d04797f31437dfce9e (diff) | |
download | linux-3a23a81e83fddb40ec0242c74acb4b1829676bfc.tar.xz |
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)
Diffstat (limited to 'drivers/ieee1394/ieee1394_transactions.c')
-rw-r--r-- | drivers/ieee1394/ieee1394_transactions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c index d1a0d3c..8b7511d 100644 --- a/drivers/ieee1394/ieee1394_transactions.c +++ b/drivers/ieee1394/ieee1394_transactions.c @@ -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> |