Mini-OS: export main_thread
PATCH 1/1 Mini-OS: export main_thread
The main_thread variable needs to be exported for applications.
Fixes 33411a11f848 ("Mini-OS: hide all symbols not exported via EXPORT_SYMBOLS()")
Reported-by Andrew Cooper <[email protected]>
Signed-off-by Juergen Gross <[email protected]>
--- sched.c | 1 + 1 file changed, 1 insertion(+)
sched.c +1 -0
@@ -62,6 +62,7 @@ static struct thread_list thread_list = MINIOS_TAILQ_HEAD_INITIALIZER(thread_lisstatic int threads_started;struct thread *main_thread; +EXPORT_SYMBOL (main_thread);void schedule (void ) {
Signature · 1 line
2.35.3