Skip to contentSkip to conversation

cobalt/thread: Export __xnthread_discard

PATCH In review Jan Kiszka 2 participants 2 messages Dec 15, 2021

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 cobalt/thread: Export __xnthread_discard

From: Jan Kiszka <[email protected]>

It's needed since f4dac53c04ae by switchtest, and that could be compiled as module.

---
 kernel/cobalt/thread.c | 1 +
 1 file changed, 1 insertion(+)
kernel/cobalt/thread.c +1 -0
index 2e1667d197..debc5077b1 100644
@@ -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)
Signature · 1 line
2.31.1
#1 lore raw

That takes care of the issue, thanks for the quick help.

Quoted 35 lines

-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Mittwoch, 15. Dezember 2021 13:57
To: Xenomai <[email protected]>
Cc: Lange Norbert <[email protected]>
Subject: [PATCH] cobalt/thread: Export __xnthread_discard

CAUTION: External email. Do not click on links or open attachments unless you know the sender and that the content is safe.

From: Jan Kiszka <[email protected]>

It's needed since f4dac53c04ae by switchtest, and that could be compiled as module.

---
 kernel/cobalt/thread.c | 1 +
 1 file changed, 1 insertion(+)
kernel/cobalt/thread.c +1 -0
index 2e1667d197..debc5077b1 100644
@@ -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
Quoted 4 lines

xnthread_init_attr *attr,struct xnsched_class *sched_class,const union xnsched_policy_param *sched_param)
--
2.31.1

________________________________

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.

ANDRITZ HYDRO GmbH

Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation

Firmensitz/ Registered seat: Wien

Firmenbuchgericht/ Court of registry: Handelsgericht Wien

Firmenbuchnummer/ Company registration: FN 61833 g

DVR: 0605077

UID-Nr.: ATU14756806

Thank You
________________________________