#endif
/* Restore the registers. */
-#if _MINIX_CHIP == _CHIP_POWERPC
- memcpy(&rp->p_reg, &sc.sc_regs, sizeof(struct stackframe_s));
-#else
memcpy(&rp->p_reg, &sc.sc_regs, sizeof(struct sigregs));
-#endif
+
return(OK);
}
#endif /* USE_SIGRETURN */
/* Copy the registers to the sigcontext structure. */
memcpy(&sc.sc_regs, (char *) &rp->p_reg, sizeof(struct sigregs));
-#ifdef POWERPC
- memcpy(&sc.sc_regs, (char *) &rp->p_reg, struct(stackframe_s));
-#else
- memcpy(&sc.sc_regs, (char *) &rp->p_reg, sizeof(struct sigregs));
-#endif
/* Finish the sigcontext initialization. */
sc.sc_flags = 0; /* unused at this time */