diff options
Diffstat (limited to 'sys/kern/subr_percpu.c')
-rw-r--r-- | sys/kern/subr_percpu.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/kern/subr_percpu.c b/sys/kern/subr_percpu.c index f5d2564a946..f03a56fd9c3 100644 --- a/sys/kern/subr_percpu.c +++ b/sys/kern/subr_percpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_percpu.c,v 1.2 2016/10/21 06:41:52 dlg Exp $ */ +/* $OpenBSD: subr_percpu.c,v 1.3 2016/10/24 03:15:38 deraadt Exp $ */ /* * Copyright (c) 2016 David Gwynne <dlg@openbsd.org> @@ -270,6 +270,18 @@ cpumem_free(struct cpumem *cm, int type, size_t sz) free(cm, type, sz); } +void * +cpumem_first(struct cpumem_iter *i, struct cpumem *cm) +{ + return (cm); +} + +void * +cpumem_next(struct cpumem_iter *i, struct cpumem *cm) +{ + return (NULL); +} + struct cpumem * counters_alloc(unsigned int n, int type) { |