diff options
Diffstat (limited to 'include/uapi/asm-generic/signal.h')
-rw-r--r-- | include/uapi/asm-generic/signal.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 6fae30fd16ab..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,10 +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 | }; |
104 | 109 | #endif | |
105 | struct k_sigaction { | ||
106 | struct sigaction sa; | ||
107 | }; | ||
108 | 110 | ||
109 | typedef struct sigaltstack { | 111 | typedef struct sigaltstack { |
110 | void __user *ss_sp; | 112 | void __user *ss_sp; |