1static void
2arch_sigreturn(struct tcb *tcp)
3{
4	/* 64-bit ABIs do not have old sigreturn. */
5#ifdef LINUX_MIPSO32
6	/*
7	 * offsetof(struct sigframe, sf_mask) ==
8	 * sizeof(sf_ass) + sizeof(sf_pad) + sizeof(struct sigcontext)
9	 */
10	const kernel_ulong_t addr = mips_REG_SP + 6 * 4 +
11				   sizeof(struct sigcontext);
12
13	tprints("{mask=");
14	print_sigset_addr(tcp, addr);
15	tprints("}");
16#endif
17}
18