diff options
Diffstat (limited to 'arch/arm/include/uapi/asm/signal.h')
-rw-r--r-- | arch/arm/include/uapi/asm/signal.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/include/uapi/asm/signal.h b/arch/arm/include/uapi/asm/signal.h index 33073bdcf091..93a5c1854513 100644 --- a/arch/arm/include/uapi/asm/signal.h +++ b/arch/arm/include/uapi/asm/signal.h @@ -1,18 +1,16 @@ -#ifndef _UAPI_ASMARM_SIGNAL_H -#define _UAPI_ASMARM_SIGNAL_H +#ifndef _ASMARM_SIGNAL_H +#define _ASMARM_SIGNAL_H #include <linux/types.h> /* Avoid too many header ordering problems. */ struct siginfo; -#ifndef __KERNEL__ /* Here we must cater to libcs that poke about in kernel headers. */ #define NSIG 32 typedef unsigned long sigset_t; -#endif /* __KERNEL__ */ #define SIGHUP 1 #define SIGINT 2 @@ -92,7 +90,6 @@ typedef unsigned long sigset_t; #include <asm-generic/signal-defs.h> -#ifndef __KERNEL__ /* Here we must cater to libcs that poke about in kernel headers. */ struct sigaction { @@ -108,13 +105,12 @@ struct sigaction { #define sa_handler _u._sa_handler #define sa_sigaction _u._sa_sigaction -#endif /* __KERNEL__ */ typedef struct sigaltstack { - void __user *ss_sp; + void *ss_sp; int ss_flags; size_t ss_size; } stack_t; -#endif /* _UAPI_ASMARM_SIGNAL_H */ +#endif /* _ASMARM_SIGNAL_H */ |