*/
#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>
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);
#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 */