diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-23 10:43:53 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-23 10:43:53 +0000 |
commit | 250089c5e97cc8490a42e9885e429ff217dbd533 (patch) | |
tree | 3eac3e565ec64f61d64b536e14d9a001e2d02405 /target/linux/ubicom32/files/arch/ubicom32/include/asm/signal.h | |
parent | 9eedef7a46e7431de4b98a808503571c1a8570eb (diff) |
[ubicom32]: add 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19823 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ubicom32/files/arch/ubicom32/include/asm/signal.h')
-rw-r--r-- | target/linux/ubicom32/files/arch/ubicom32/include/asm/signal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ubicom32/files/arch/ubicom32/include/asm/signal.h b/target/linux/ubicom32/files/arch/ubicom32/include/asm/signal.h index a334e19ea..946b3f77d 100644 --- a/target/linux/ubicom32/files/arch/ubicom32/include/asm/signal.h +++ b/target/linux/ubicom32/files/arch/ubicom32/include/asm/signal.h @@ -124,7 +124,12 @@ typedef struct { #define MINSIGSTKSZ 2048 #define SIGSTKSZ 8192 +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) +#include <asm-generic/signal-defs.h> +#else #include <asm-generic/signal.h> +#endif #ifdef __KERNEL__ struct old_sigaction { |