#include <sys/sem.h>
#include <sys/jail.h>
#include <sys/kern_syscall.h>
-#include <sys/upcall.h>
#include <sys/unistd.h>
#include <sys/eventhandler.h>
#include <sys/dsched.h>
vm = p->p_vmspace;
/*
- * Release upcalls associated with this process
- */
- if (vm->vm_upcalls)
- upc_release(vm, lp);
-
- /*
* Clean up data related to virtual kernel operation. Clean up
* any vkernel context related to the current lwp now so we can
* destroy p_vkernel.