panic("remrq %x", p);
panic("remrq %p", p);
remrunqueue(vp)	struct proc *vp;{	struct proc *p = vp;	int which = p->p_priority >> 2;	struct prochd *q;	if ((whichqs & (1 << which)) == 0)		panic("remrq %x", p);	p->p_forw->p_back = p->p_back;	p->p_back->p_forw = p->p_forw;	p->p_back = NULL;	q = &qs[which];	if (q->ph_link == (struct proc *)q)		whichqs &= ~(1 << which);}