From 96b548624d48d8a96a8f34169119793e776257b2 Mon Sep 17 00:00:00 2001 From: mmacy Date: Tue, 3 Jul 2018 04:02:40 +0000 Subject: [PATCH] expose sched_{pin,unpin}_lite to tied modules --- sys/sys/kpilite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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