summaryrefslogtreecommitdiffstats
path: root/sys/modules/cyclic
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2014-12-07 11:21:41 +0000
committeravg <avg@FreeBSD.org>2014-12-07 11:21:41 +0000
commit15bfe2d26274bcac738882fc5c83faa0d0eddabe (patch)
treeff24ee5a333ea5e0c966f8a460c580c9fb859f3e /sys/modules/cyclic
parent9b3ccf0ab3f462a1a474a55cf53c880f31c4193d (diff)
downloadFreeBSD-src-15bfe2d26274bcac738882fc5c83faa0d0eddabe.zip
FreeBSD-src-15bfe2d26274bcac738882fc5c83faa0d0eddabe.tar.gz
remove opensolaris cyclic code, replace with high-precision callouts
In the old days callout(9) had 1 tick precision and that was inadequate for some uses, e.g. DTrace profile module, so we had to emulate cyclic API and behavior. Now we can directly use callout(9) in the very few places where cyclic was used. Differential Revision: https://reviews.freebsd.org/D1161 Reviewed by: gnn, jhb, markj MFC after: 2 weeks
Diffstat (limited to 'sys/modules/cyclic')
-rw-r--r--sys/modules/cyclic/Makefile21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/modules/cyclic/Makefile b/sys/modules/cyclic/Makefile
deleted file mode 100644
index 985b514..0000000
--- a/sys/modules/cyclic/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# $FreeBSD$
-
-SYSDIR?= ${.CURDIR}/../..
-
-.PATH: ${SYSDIR}/cddl/dev/cyclic
-
-KMOD= cyclic
-SRCS= cyclic.c
-
-SRCS+= vnode_if.h
-
-CFLAGS+= -I${SYSDIR}/cddl/compat/opensolaris \
- -I${SYSDIR}/cddl/contrib/opensolaris/uts/common \
- -I${SYSDIR} \
- -I${SYSDIR}/cddl/dev/cyclic/i386
-
-IGNORE_PRAGMA= 1
-
-.include <bsd.kmod.mk>
-
-CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
OpenPOWER on IntegriCloud