diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-23 23:44:19 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-23 23:44:19 -0500 |
commit | 1ebbe2b20091d306453a5cf480a87e6cd28ae76f (patch) | |
tree | f5cd7a0fa69b8b1938cb5a0faed2e7b0628072a5 /include/asm-mips/signal.h | |
parent | ac58c9059da8886b5e8cde012a80266b18ca146e (diff) | |
parent | 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd (diff) |
Merge branch 'linus'
Diffstat (limited to 'include/asm-mips/signal.h')
-rw-r--r-- | include/asm-mips/signal.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/asm-mips/signal.h b/include/asm-mips/signal.h index 6fe903e09c62..d8349e4b55ee 100644 --- a/include/asm-mips/signal.h +++ b/include/asm-mips/signal.h | |||
@@ -147,16 +147,34 @@ struct k_sigaction { | |||
147 | 147 | ||
148 | /* IRIX compatible stack_t */ | 148 | /* IRIX compatible stack_t */ |
149 | typedef struct sigaltstack { | 149 | typedef struct sigaltstack { |
150 | void *ss_sp; | 150 | void __user *ss_sp; |
151 | size_t ss_size; | 151 | size_t ss_size; |
152 | int ss_flags; | 152 | int ss_flags; |
153 | } stack_t; | 153 | } stack_t; |
154 | 154 | ||
155 | #ifdef __KERNEL__ | 155 | #ifdef __KERNEL__ |
156 | #include <asm/sigcontext.h> | 156 | #include <asm/sigcontext.h> |
157 | #include <asm/siginfo.h> | ||
157 | 158 | ||
158 | #define ptrace_signal_deliver(regs, cookie) do { } while (0) | 159 | #define ptrace_signal_deliver(regs, cookie) do { } while (0) |
159 | 160 | ||
161 | struct pt_regs; | ||
162 | extern void do_signal(struct pt_regs *regs); | ||
163 | extern void do_signal32(struct pt_regs *regs); | ||
164 | |||
165 | extern int setup_frame(struct k_sigaction * ka, struct pt_regs *regs, | ||
166 | int signr, sigset_t *set); | ||
167 | extern int setup_rt_frame(struct k_sigaction * ka, struct pt_regs *regs, | ||
168 | int signr, sigset_t *set, siginfo_t *info); | ||
169 | |||
170 | extern int setup_frame_32(struct k_sigaction * ka, struct pt_regs *regs, | ||
171 | int signr, sigset_t *set); | ||
172 | extern int setup_rt_frame_32(struct k_sigaction * ka, struct pt_regs *regs, | ||
173 | int signr, sigset_t *set, siginfo_t *info); | ||
174 | |||
175 | extern int setup_rt_frame_n32(struct k_sigaction * ka, struct pt_regs *regs, | ||
176 | int signr, sigset_t *set, siginfo_t *info); | ||
177 | |||
160 | #endif /* __KERNEL__ */ | 178 | #endif /* __KERNEL__ */ |
161 | 179 | ||
162 | #endif /* _ASM_SIGNAL_H */ | 180 | #endif /* _ASM_SIGNAL_H */ |