]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ast.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / kern / ast.c
index d0e3415297d97e78c30557f286a1ab8fbf6e9137..0c38b3a26d1fe088cc5c721946c6ec849f8d2ed6 100644 (file)
@@ -55,7 +55,7 @@
  */
 
 #include <kern/ast.h>
-#include <kern/counters.h>
+#include <kern/counter.h>
 #include <kern/cpu_quiesce.h>
 #include <kern/misc_protos.h>
 #include <kern/queue.h>
@@ -132,8 +132,6 @@ ast_taken_kernel(void)
 
        assert(urgent_reason & AST_PREEMPT);
 
-       counter(c_ast_taken_block++);
-
        thread_block_reason(THREAD_CONTINUE_NULL, NULL, urgent_reason);
 
        assert(ml_get_interrupts_enabled() == FALSE);
@@ -311,7 +309,6 @@ ast_taken_user(void)
 #endif
 
                if (preemption_reasons & AST_PREEMPT) {
-                       counter(c_ast_taken_block++);
                        /* switching to a continuation implicitly re-enables interrupts */
                        thread_block_reason(thread_preempted, NULL, preemption_reasons);
                        /* NOTREACHED */