aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic/signal.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-27 06:57:23 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-27 06:57:23 +0100
commitad1588798620901c12ba86c71865150a4eb727bf (patch)
treedcc148c8007e649e549cc44dd0b2a02bae832af5 /include/asm-generic/signal.h
parent274f5946dcb7c970455067be9e13a22174787592 (diff)
downloadlinux-linaro-stable-ad1588798620901c12ba86c71865150a4eb727bf.tar.gz
Add standard include guard to asm-generic/signal and use compiler.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-generic/signal.h')
-rw-r--r--include/asm-generic/signal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-generic/signal.h b/include/asm-generic/signal.h
index 9418d6e9b8cd..dae1d8720076 100644
--- a/include/asm-generic/signal.h
+++ b/include/asm-generic/signal.h
@@ -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 */