1 static void arch_sigreturn(struct tcb * tcp)2arch_sigreturn(struct tcb *tcp) 3 { 4 /* offset of ucontext in the kernel's sigframe structure */ 5 #define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(siginfo_t) 6 const unsigned long addr = tile_regs.sp + SIGFRAME_UC_OFFSET + 7 offsetof(ucontext_t, uc_sigmask); 8 9 tprints("{mask="); 10 print_sigset_addr(tcp, addr); 11 tprints("}"); 12 } 13