summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm/vmm_stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/vmm/vmm_stat.h')
-rw-r--r--sys/amd64/vmm/vmm_stat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/vmm/vmm_stat.h b/sys/amd64/vmm/vmm_stat.h
index 9110c8f..6e98965 100644
--- a/sys/amd64/vmm/vmm_stat.h
+++ b/sys/amd64/vmm/vmm_stat.h
@@ -49,13 +49,13 @@ struct vmm_stat_type {
enum vmm_stat_scope scope;
};
-void vmm_stat_init(void *arg);
+void vmm_stat_register(void *arg);
#define VMM_STAT_DEFINE(type, nelems, desc, scope) \
struct vmm_stat_type type[1] = { \
{ -1, nelems, desc, scope } \
}; \
- SYSINIT(type##_stat, SI_SUB_KLD, SI_ORDER_ANY, vmm_stat_init, type)
+ SYSINIT(type##_stat, SI_SUB_KLD, SI_ORDER_ANY, vmm_stat_register, type)
#define VMM_STAT_DECLARE(type) \
extern struct vmm_stat_type type[1]
@@ -71,6 +71,7 @@ void vmm_stat_init(void *arg);
VMM_STAT_DEFINE(type, nelems, desc, VMM_STAT_SCOPE_ANY)
void *vmm_stat_alloc(void);
+void vmm_stat_init(void *vp);
void vmm_stat_free(void *vp);
/*
OpenPOWER on IntegriCloud