Remove upc_{control,register} syscalls and everything that has to do with it.
[dragonfly.git] / sys / kern / kern_exit.c
index a7c8aed..a4d223d 100644 (file)
@@ -63,7 +63,6 @@
 #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>
@@ -380,12 +379,6 @@ exit1(int rv)
        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.