Remove upc_{control,register} syscalls and everything that has to do with it.
[dragonfly.git] / sys / platform / pc64 / x86_64 / trap.c
index a36f64f..64c3397 100644 (file)
@@ -251,7 +251,7 @@ recheck:
         * Post any pending upcalls.  If running a virtual kernel be sure
         * to restore the virtual kernel's vmspace before posting the upcall.
         */
-       if (p->p_flags & (P_SIGVTALRM | P_SIGPROF | P_UPCALLPEND)) {
+       if (p->p_flags & (P_SIGVTALRM | P_SIGPROF)) {
                lwkt_gettoken(&p->p_token);
                if (p->p_flags & P_SIGVTALRM) {
                        p->p_flags &= ~P_SIGVTALRM;
@@ -261,10 +261,6 @@ recheck:
                        p->p_flags &= ~P_SIGPROF;
                        ksignal(p, SIGPROF);
                }
-               if (p->p_flags & P_UPCALLPEND) {
-                       p->p_flags &= ~P_UPCALLPEND;
-                       postupcall(lp);
-               }
                lwkt_reltoken(&p->p_token);
                goto recheck;
        }