From: Jan Kiszka Subject: [PATCH] cobalt/thread: Export __xnthread_discard Message-ID: Date: Wed, 15 Dec 2021 13:57:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xenomai From: Jan Kiszka It's needed since f4dac53c04ae by switchtest, and that could be compiled as module. Reported-by: Lange Norbert Signed-off-by: Jan Kiszka --- kernel/cobalt/thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/cobalt/thread.c b/kernel/cobalt/thread.c index 2e1667d197..debc5077b1 100644 --- a/kernel/cobalt/thread.c +++ b/kernel/cobalt/thread.c @@ -553,6 +553,7 @@ void __xnthread_discard(struct xnthread *thread) xnthread_deregister(thread); xnlock_put_irqrestore(&nklock, s); } +EXPORT_SYMBOL_GPL(__xnthread_discard); /** * @fn void xnthread_init(struct xnthread *thread,const struct xnthread_init_attr *attr,struct xnsched_class *sched_class,const union xnsched_policy_param *sched_param) -- 2.31.1