diff options
Diffstat (limited to 'include/asm-frv/signal.h')
-rw-r--r-- | include/asm-frv/signal.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-frv/signal.h b/include/asm-frv/signal.h index 67366894780f..2079197d483d 100644 --- a/include/asm-frv/signal.h +++ b/include/asm-frv/signal.h | |||
@@ -74,7 +74,6 @@ typedef unsigned long sigset_t; | |||
74 | * SA_FLAGS values: | 74 | * SA_FLAGS values: |
75 | * | 75 | * |
76 | * SA_ONSTACK indicates that a registered stack_t will be used. | 76 | * SA_ONSTACK indicates that a registered stack_t will be used. |
77 | * SA_INTERRUPT is a no-op, but left due to historical reasons. Use the | ||
78 | * SA_RESTART flag to get restarting signals (which were the default long ago) | 77 | * SA_RESTART flag to get restarting signals (which were the default long ago) |
79 | * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. | 78 | * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. |
80 | * SA_RESETHAND clears the handler when the signal is delivered. | 79 | * SA_RESETHAND clears the handler when the signal is delivered. |
@@ -94,7 +93,6 @@ typedef unsigned long sigset_t; | |||
94 | 93 | ||
95 | #define SA_NOMASK SA_NODEFER | 94 | #define SA_NOMASK SA_NODEFER |
96 | #define SA_ONESHOT SA_RESETHAND | 95 | #define SA_ONESHOT SA_RESETHAND |
97 | #define SA_INTERRUPT 0x20000000 /* dummy -- ignored */ | ||
98 | 96 | ||
99 | #define SA_RESTORER 0x04000000 | 97 | #define SA_RESTORER 0x04000000 |
100 | 98 | ||
@@ -114,13 +112,13 @@ struct old_sigaction { | |||
114 | __sighandler_t sa_handler; | 112 | __sighandler_t sa_handler; |
115 | old_sigset_t sa_mask; | 113 | old_sigset_t sa_mask; |
116 | unsigned long sa_flags; | 114 | unsigned long sa_flags; |
117 | void (*sa_restorer)(void); | 115 | __sigrestore_t sa_restorer; |
118 | }; | 116 | }; |
119 | 117 | ||
120 | struct sigaction { | 118 | struct sigaction { |
121 | __sighandler_t sa_handler; | 119 | __sighandler_t sa_handler; |
122 | unsigned long sa_flags; | 120 | unsigned long sa_flags; |
123 | void (*sa_restorer)(void); | 121 | __sigrestore_t sa_restorer; |
124 | sigset_t sa_mask; /* mask last for extensibility */ | 122 | sigset_t sa_mask; /* mask last for extensibility */ |
125 | }; | 123 | }; |
126 | 124 | ||
@@ -146,7 +144,7 @@ struct sigaction { | |||
146 | #endif /* __KERNEL__ */ | 144 | #endif /* __KERNEL__ */ |
147 | 145 | ||
148 | typedef struct sigaltstack { | 146 | typedef struct sigaltstack { |
149 | void *ss_sp; | 147 | void __user *ss_sp; |
150 | int ss_flags; | 148 | int ss_flags; |
151 | size_t ss_size; | 149 | size_t ss_size; |
152 | } stack_t; | 150 | } stack_t; |