Remove ACK EM_WSIZE/EM_PSIZE macro usage

This commit is contained in:
Arun Thomas
2012-08-06 13:00:21 +02:00
parent 6723dcfab7
commit 19ffad7692
16 changed files with 2 additions and 83 deletions

View File

@@ -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. */

View File

@@ -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