]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/syscall_subr.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / kern / syscall_subr.c
index 4d65fe2ae3c3bdb4ca5a0ba2b7089041ec3d3495..60af738a82aa2c1a2b1940f7f7c174c8f507e810 100644 (file)
@@ -58,7 +58,7 @@
 #include <mach/thread_switch.h>
 #include <ipc/ipc_port.h>
 #include <ipc/ipc_space.h>
-#include <kern/counters.h>
+#include <kern/counter.h>
 #include <kern/ipc_kobject.h>
 #include <kern/processor.h>
 #include <kern/sched.h>
@@ -131,8 +131,6 @@ swtch(
        }
        enable_preemption();
 
-       counter(c_swtch_block++);
-
        thread_yield_with_continuation((thread_continue_t)swtch_continue, NULL);
 }
 
@@ -170,8 +168,6 @@ swtch_pri(
        }
        enable_preemption();
 
-       counter(c_swtch_pri_block++);
-
        thread_depress_abstime(thread_depress_time);
 
        thread_yield_with_continuation((thread_continue_t)swtch_pri_continue, NULL);