diff options
author | Richard Braun <rbraun@sceen.net> | 2017-03-15 21:43:41 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-03-15 21:56:42 +0100 |
commit | 196eae0d9ee0d2d8ca42e96e49d6988313d39f6d (patch) | |
tree | 81d20378edede1e02d8f8f578331848715667877 /kern/llsync_i.h | |
parent | 0f8c14517212dfd03c5cafcab56ffc7dead18209 (diff) |
kern/syscnt: replace the evcnt module
The syscnt module supports more generic counters, in addition to atomic
access from any context on any architecture.
Diffstat (limited to 'kern/llsync_i.h')
-rw-r--r-- | kern/llsync_i.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kern/llsync_i.h b/kern/llsync_i.h index 42972303..10dec944 100644 --- a/kern/llsync_i.h +++ b/kern/llsync_i.h @@ -20,10 +20,10 @@ #include <kern/assert.h> #include <kern/cpumap.h> -#include <kern/evcnt.h> #include <kern/macros.h> #include <kern/param.h> #include <kern/spinlock.h> +#include <kern/syscnt.h> #include <kern/work.h> #include <machine/cpu.h> @@ -45,9 +45,9 @@ struct llsync_data { int no_warning; struct work_queue queue0; struct work_queue queue1; - struct evcnt ev_global_checkpoint; - struct evcnt ev_periodic_checkin; - struct evcnt ev_failed_periodic_checkin; + struct syscnt sc_global_checkpoint; + struct syscnt sc_periodic_checkin; + struct syscnt sc_failed_periodic_checkin; /* * Global checkpoint ID. |