aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Kaiser <just.for.lkml@googlemail.com>2007-04-09 15:03:15 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-29 18:00:29 -0400
commit3a23a81e83fddb40ec0242c74acb4b1829676bfc (patch)
tree0e509f2fa5c91ad5a03b2c5e09a1326614e1cc1f
parent504945c9c6954b83758272d04797f31437dfce9e (diff)
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)
-rw-r--r--drivers/ieee1394/ieee1394_transactions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c
index d1a0d3cb97d0..8b7511d52533 100644
--- a/drivers/ieee1394/ieee1394_transactions.c
+++ b/drivers/ieee1394/ieee1394_transactions.c
@@ -12,6 +12,7 @@
12#include <linux/bitops.h> 12#include <linux/bitops.h>
13#include <linux/hardirq.h> 13#include <linux/hardirq.h>
14#include <linux/spinlock.h> 14#include <linux/spinlock.h>
15#include <linux/sched.h> /* because linux/wait.h is broken if CONFIG_SMP=n */
15#include <linux/wait.h> 16#include <linux/wait.h>
16 17
17#include <asm/bug.h> 18#include <asm/bug.h>