+/*
+ * Routine to cleanup state after a signal
+ * has been taken. Reset signal mask and
+ * notion of on signal stack from context
+ * left there by sendsig (above). Pop these
+ * values in preparation for rei which follows
+ * return from this routine.
+ */
+sigcleanup()
+{
+ register int *usp = (int *)u.u_ar0[SP];
+
+#ifndef lint
+ asm("prober $3,$8,(r11)");
+ asm("bnequ 1f; ret; 1:");
+#else
+ if (useracc((caddr_t)usp, 8, 0))
+ return;
+#endif
+ u.u_onsigstack = *usp++ & 01;
+ u.u_procp->p_sigmask = *usp++;
+ u.u_ar0[SP] = (int)usp;
+}
+
+#ifdef notdef