diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-14 03:20:34 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-14 03:20:34 +0000 |
commit | 11fe9517864b0946417f020e25cdcb86bc114aa9 (patch) | |
tree | 20792506c3f113963a25cd358ca5d8d67bc57ffe | |
parent | 82f280fa367445299847388adc6ad664a13dddb3 (diff) |
add a type for counters.
ok mpi@ visa@ mikeb@
-rw-r--r-- | sys/sys/malloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index aba3094a356..4cd3d67f4ad 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc.h,v 1.113 2016/07/20 09:15:28 bluhm Exp $ */ +/* $OpenBSD: malloc.h,v 1.114 2016/11/14 03:20:33 dlg Exp $ */ /* $NetBSD: malloc.h,v 1.39 1998/07/12 19:52:01 augustss Exp $ */ /* @@ -74,7 +74,7 @@ #define M_IFADDR 9 /* interface address */ #define M_SOOPTS 10 /* socket options */ #define M_SYSCTL 11 /* sysctl buffers (persistent storage) */ -/* 12 - free */ +#define M_COUNTERS 12 /* per CPU counters */ /* 13 - free */ #define M_IOCTLOPS 14 /* ioctl data buffer */ /* 15-18 - free */ @@ -196,7 +196,7 @@ "ifaddr", /* 9 M_IFADDR */ \ "soopts", /* 10 M_SOOPTS */ \ "sysctl", /* 11 M_SYSCTL */ \ - NULL, \ + "counters", /* 12 M_COUNTERS */ \ NULL, \ "ioctlops", /* 14 M_IOCTLOPS */ \ NULL, \ |