573d572
< 	struct proc *p = td->td_proc;
578c577
< 	KKASSERT(p);
---
> 	KKASSERT(td->td_proc);
1740a1740
> #ifdef INVARIANTS
1741a1742
> #endif
