Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Add standard include guard to asm-generic/signal and use compiler.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

+7
+7
include/asm-generic/signal.h
··· 1 + #ifndef __ASM_GENERIC_SIGNAL_H 2 + #define __ASM_GENERIC_SIGNAL_H 3 + 4 + #include <linux/compiler.h> 5 + 1 6 #ifndef SIG_BLOCK 2 7 #define SIG_BLOCK 0 /* for blocking signals */ 3 8 #endif ··· 24 19 #define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */ 25 20 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */ 26 21 #endif 22 + 23 + #endif /* __ASM_GENERIC_SIGNAL_H */