]> err.no Git - linux-2.6/commitdiff
Add standard include guard to asm-generic/signal and use compiler.h
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 27 Apr 2006 05:57:23 +0000 (06:57 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 27 Apr 2006 05:57:23 +0000 (06:57 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/asm-generic/signal.h

index 9418d6e9b8cd532fe4655c2d60de53ab606f850f..dae1d8720076fde1aad89772b6390f22b1db3345 100644 (file)
@@ -1,3 +1,8 @@
+#ifndef __ASM_GENERIC_SIGNAL_H
+#define __ASM_GENERIC_SIGNAL_H
+
+#include <linux/compiler.h>
+
 #ifndef SIG_BLOCK
 #define SIG_BLOCK          0   /* for blocking signals */
 #endif
@@ -19,3 +24,5 @@ typedef __restorefn_t __user *__sigrestore_t;
 #define SIG_IGN        ((__force __sighandler_t)1)     /* ignore signal */
 #define SIG_ERR        ((__force __sighandler_t)-1)    /* error return from signal */
 #endif
+
+#endif /* __ASM_GENERIC_SIGNAL_H */