Don't include private headers from user-visible part of linux/signal.h
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 13:55:46 +0000 (14:55 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 13:55:46 +0000 (14:55 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/signal.h

index 162a8fd..4b42df3 100644 (file)
@@ -1,12 +1,12 @@
 #ifndef _LINUX_SIGNAL_H
 #define _LINUX_SIGNAL_H
 
-#include <linux/list.h>
-#include <linux/spinlock.h>
 #include <asm/signal.h>
 #include <asm/siginfo.h>
 
 #ifdef __KERNEL__
+#include <linux/list.h>
+#include <linux/spinlock.h>
 
 /*
  * These values of sa_flags are used only by the kernel as part of the