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 /arch/x86/machine/boot.c | |
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 'arch/x86/machine/boot.c')
-rw-r--r-- | arch/x86/machine/boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/machine/boot.c b/arch/x86/machine/boot.c index aaf3f1ea..f88ca883 100644 --- a/arch/x86/machine/boot.c +++ b/arch/x86/machine/boot.c @@ -47,7 +47,6 @@ #include <stdint.h> #include <string.h> -#include <kern/evcnt.h> #include <kern/init.h> #include <kern/kmem.h> #include <kern/kernel.h> @@ -57,6 +56,7 @@ #include <kern/percpu.h> #include <kern/printk.h> #include <kern/sref.h> +#include <kern/syscnt.h> #include <kern/thread.h> #include <machine/biosmem.h> #include <machine/boot.h> @@ -426,7 +426,7 @@ boot_save_data(void) void __init boot_main(void) { - evcnt_setup(); + syscnt_setup(); percpu_bootstrap(); trap_setup(); cpu_setup(); |