aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTorsten Kaiser <just.for.lkml@googlemail.com>2007-04-09 21:03:15 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-30 00:00:29 +0200
commit3a23a81e83fddb40ec0242c74acb4b1829676bfc (patch)
tree0e509f2fa5c91ad5a03b2c5e09a1326614e1cc1f /drivers
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)
Diffstat (limited to 'drivers')
-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 d1a0d3cb97d..8b7511d5253 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>