Remove ACK EM_WSIZE/EM_PSIZE macro usage
This commit is contained in:
@@ -44,10 +44,8 @@ int do_sigreturn(struct proc * caller, message * m_ptr)
|
||||
sc.sc_ds = rp->p_reg.ds;
|
||||
sc.sc_es = rp->p_reg.es;
|
||||
sc.sc_ss = rp->p_reg.ss;
|
||||
#if _WORD_SIZE == 4
|
||||
sc.sc_fs = rp->p_reg.fs;
|
||||
sc.sc_gs = rp->p_reg.gs;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Restore the registers. */
|
||||
|
||||
@@ -143,10 +143,8 @@ int do_trace(struct proc * caller, message * m_ptr)
|
||||
if (i == (int) &((struct proc *) 0)->p_reg.cs ||
|
||||
i == (int) &((struct proc *) 0)->p_reg.ds ||
|
||||
i == (int) &((struct proc *) 0)->p_reg.es ||
|
||||
#if _WORD_SIZE == 4
|
||||
i == (int) &((struct proc *) 0)->p_reg.gs ||
|
||||
i == (int) &((struct proc *) 0)->p_reg.fs ||
|
||||
#endif
|
||||
i == (int) &((struct proc *) 0)->p_reg.ss)
|
||||
return(EFAULT);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user