Commit:     3a23a81e83fddb40ec0242c74acb4b1829676bfc
Parent:     504945c9c6954b83758272d04797f31437dfce9e
Author:     Torsten Kaiser <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 9 21:03:15 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Mon Apr 30 00:00:29 2007 +0200

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> (added comment)
 drivers/ieee1394/ieee1394_transactions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/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>
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to