[PATCH] fix signal.h compilation

From: Christoph Hellwig (hch@lst.de)
Date: Tue Jun 03 2003 - 02:37:53 EST


signal.h uses spinlock_t now so it needs to include spinlock.h.
Without this compilation failes on PPC.

--- 1.12/include/linux/signal.h Mon Jun 2 14:45:36 2003
+++ edited/include/linux/signal.h Mon Jun 2 11:13:33 2003
@@ -1,9 +1,10 @@
 #ifndef _LINUX_SIGNAL_H
 #define _LINUX_SIGNAL_H
 
+#include <linux/list.h>
+#include <linux/spinlock.h>
 #include <asm/signal.h>
 #include <asm/siginfo.h>
-#include <linux/list.h>
 
 #ifdef __KERNEL__
 /*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:19 EST