diff options
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/conf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c index fcb23b6c5cc..49c31ac84c3 100644 --- a/sys/arch/sparc64/sparc64/conf.c +++ b/sys/arch/sparc64/sparc64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.83 2020/01/23 02:40:22 dlg Exp $ */ +/* $OpenBSD: conf.c,v 1.84 2020/07/06 04:32:25 dlg Exp $ */ /* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */ /* @@ -112,6 +112,7 @@ cdev_decl(pci); #include "pf.h" #include "ksyms.h" +#include "kstat.h" #include "hotplug.h" #include "vscsi.h" @@ -203,7 +204,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 48 */ cdev_notdef(), /* 49 */ cdev_notdef(), /* 50 */ - cdev_notdef(), /* 51 */ + cdev_kstat_init(NKSTAT,kstat), /* 51: kernel statistics */ #ifdef USER_PCICONF cdev_pci_init(NPCI,pci), /* 52: PCI user */ #else |