Remove leftover PowerPC cruft. Reported by Evgeniy Ivanov.

This commit is contained in:
David van Moolenbroek 2009-07-07 18:55:11 +00:00
parent 12451e6b06
commit 5e173f55f5
2 changed files with 1 additions and 9 deletions

View file

@ -53,11 +53,8 @@ message *m_ptr; /* pointer to request message */
#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 */

View file

@ -49,11 +49,6 @@ message *m_ptr; /* pointer to request message */
/* 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 */