aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kpilite.h
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-07-03 04:02:40 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-07-03 04:02:40 +0000
commit44fd76e10c0ddc5bc4c8a4b56948b7aebf372b4c (patch)
tree1e5f81218765eb0e1cf80b3da9f6690196e525ee /sys/sys/kpilite.h
parent4ee90e6e20bab628548f368150d92b9b2d4ae2e2 (diff)
downloadsrc-44fd76e10c0ddc5bc4c8a4b56948b7aebf372b4c.tar.gz
src-44fd76e10c0ddc5bc4c8a4b56948b7aebf372b4c.zip
expose sched_{pin,unpin}_lite to tied modules
Notes
Notes: svn path=/head/; revision=335882
Diffstat (limited to 'sys/sys/kpilite.h')
-rw-r--r--sys/sys/kpilite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/kpilite.h b/sys/sys/kpilite.h
index 53817550a8f2..8742ef5cfbe8 100644
--- a/sys/sys/kpilite.h
+++ b/sys/sys/kpilite.h
@@ -29,7 +29,7 @@
#ifndef _SYS_KPILITE_H_
#define _SYS_KPILITE_H_
-#if !defined(GENOFFSET) && !defined(KLD_MODULE) && defined(_KERNEL)
+#if !defined(GENOFFSET) && (!defined(KLD_MODULE) || defined(KLD_TIED)) && defined(_KERNEL)
#include "offset.inc"
static __inline void