Home | History | Annotate | Download | only in s390
      1 static void
      2 arch_sigreturn(struct tcb *tcp)
      3 {
      4 	long mask[NSIG / 8 / sizeof(long)];
      5 	const long addr = *s390_frame_ptr + __SIGNAL_FRAMESIZE;
      6 
      7 	if (umove(tcp, addr, &mask) < 0) {
      8 		tprintf("{mask=%#lx}", addr);
      9 	} else {
     10 #ifdef S390
     11 		long v = mask[0];
     12 		mask[0] = mask[1];
     13 		mask[1] = v;
     14 #endif
     15 		tprintsigmask_addr("{mask=", mask);
     16 		tprints("}");
     17 	}
     18 }
     19