diff options
| author | Richard Weinberger <richard@nod.at> | 2013-07-19 11:31:36 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-03 14:56:24 +0200 |
| commit | 80531c1d3f33e11306f56d7899545a22a99c6972 (patch) | |
| tree | a99ee3ed16f606dd500deae7fe096287ce75898b /arch/um/include | |
| parent | 09373f3772999d7db29194411f4b974bbeca93eb (diff) | |
um: siginfo cleanup
Currently we use both struct siginfo and siginfo_t.
Let's use struct siginfo internally to avoid ongoing
compiler warning. We are allowed to do so because
struct siginfo and siginfo_t are equivalent.
[cherry-pick of upstream 9a8c1359571c5d5e2fbc43cf457a6486b70a70cb]
Bug: 21631098
Change-Id: I564775c9ed515c39ffff7d7d600a85d50291f31d
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Diffstat (limited to 'arch/um/include')
| -rw-r--r-- | arch/um/include/shared/frame_kern.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/um/include/shared/frame_kern.h b/arch/um/include/shared/frame_kern.h index e584e40ee..f2ca5702a 100644 --- a/arch/um/include/shared/frame_kern.h +++ b/arch/um/include/shared/frame_kern.h @@ -6,13 +6,13 @@ #ifndef __FRAME_KERN_H_ #define __FRAME_KERN_H_ -extern int setup_signal_stack_sc(unsigned long stack_top, int sig, +extern int setup_signal_stack_sc(unsigned long stack_top, int sig, struct k_sigaction *ka, - struct pt_regs *regs, + struct pt_regs *regs, sigset_t *mask); -extern int setup_signal_stack_si(unsigned long stack_top, int sig, +extern int setup_signal_stack_si(unsigned long stack_top, int sig, struct k_sigaction *ka, - struct pt_regs *regs, siginfo_t *info, + struct pt_regs *regs, struct siginfo *info, sigset_t *mask); #endif |
