tile: use siginfo_t, not struct siginfo
As of glibc 2.16, "struct siginfo" is no longer supported, and "siginfo_t" must be used instead. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
d90a2d26c1
commit
5c0796f346
2
signal.c
2
signal.c
@ -971,7 +971,7 @@ sys_sigreturn(struct tcb *tcp)
|
||||
sigset_t sigm;
|
||||
|
||||
/* offset of ucontext in the kernel's sigframe structure */
|
||||
# define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(struct siginfo)
|
||||
# define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(siginfo_t)
|
||||
if (umove(tcp, tile_regs.sp + SIGFRAME_UC_OFFSET, &uc) < 0)
|
||||
return 0;
|
||||
sigemptyset(&sigm);
|
||||
|
Loading…
Reference in New Issue
Block a user