diff options
Diffstat (limited to 'include/uapi/asm-generic/signal.h')
-rw-r--r-- | include/uapi/asm-generic/signal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 21e59f36c61b..9df61f1edb0f 100644 --- a/include/uapi/asm-generic/signal.h +++ b/include/uapi/asm-generic/signal.h | |||
@@ -93,6 +93,11 @@ typedef unsigned long old_sigset_t; | |||
93 | 93 | ||
94 | #include <asm-generic/signal-defs.h> | 94 | #include <asm-generic/signal-defs.h> |
95 | 95 | ||
96 | #ifdef SA_RESTORER | ||
97 | #define __ARCH_HAS_SA_RESTORER | ||
98 | #endif | ||
99 | |||
100 | #ifndef __KERNEL__ | ||
96 | struct sigaction { | 101 | struct sigaction { |
97 | __sighandler_t sa_handler; | 102 | __sighandler_t sa_handler; |
98 | unsigned long sa_flags; | 103 | unsigned long sa_flags; |
@@ -101,6 +106,7 @@ struct sigaction { | |||
101 | #endif | 106 | #endif |
102 | sigset_t sa_mask; /* mask last for extensibility */ | 107 | sigset_t sa_mask; /* mask last for extensibility */ |
103 | }; | 108 | }; |
109 | #endif | ||
104 | 110 | ||
105 | typedef struct sigaltstack { | 111 | typedef struct sigaltstack { |
106 | void __user *ss_sp; | 112 | void __user *ss_sp; |