Remove leftover PowerPC cruft. Reported by Evgeniy Ivanov.
This commit is contained in:
parent
12451e6b06
commit
5e173f55f5
|
@ -53,11 +53,8 @@ message *m_ptr; /* pointer to request message */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Restore the registers. */
|
/* 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));
|
memcpy(&rp->p_reg, &sc.sc_regs, sizeof(struct sigregs));
|
||||||
#endif
|
|
||||||
return(OK);
|
return(OK);
|
||||||
}
|
}
|
||||||
#endif /* USE_SIGRETURN */
|
#endif /* USE_SIGRETURN */
|
||||||
|
|
|
@ -49,11 +49,6 @@ message *m_ptr; /* pointer to request message */
|
||||||
|
|
||||||
/* Copy the registers to the sigcontext structure. */
|
/* Copy the registers to the sigcontext structure. */
|
||||||
memcpy(&sc.sc_regs, (char *) &rp->p_reg, sizeof(struct sigregs));
|
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. */
|
/* Finish the sigcontext initialization. */
|
||||||
sc.sc_flags = 0; /* unused at this time */
|
sc.sc_flags = 0; /* unused at this time */
|
||||||
|
|
Loading…
Reference in a new issue