[PATCH] fix signal.h compilation

Christoph Hellwig (hch@lst.de)
Tue, 3 Jun 2003 09:37:53 +0200


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/