From 3fa0834e7d2c153247ce0ffbfc91e329404c23fe Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Mon, 24 Jan 2022 09:56:47 +0200 Subject: [PATCH] Fix PROTECTED_BUILD build errors for mpfs target Userspace struct definition did not have pthread_startup The definition for up_pthread_exit was not compiled ever --- boards/risc-v/mpfs/common/kernel/mpfs_userspace.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/boards/risc-v/mpfs/common/kernel/mpfs_userspace.c b/boards/risc-v/mpfs/common/kernel/mpfs_userspace.c index 6971b102da5..8860ed53ae8 100755 --- a/boards/risc-v/mpfs/common/kernel/mpfs_userspace.c +++ b/boards/risc-v/mpfs/common/kernel/mpfs_userspace.c @@ -99,9 +99,6 @@ const struct userspace_s userspace locate_data(".userspace") = /* Task/thread startup routines */ .task_startup = nxtask_startup, -#ifndef CONFIG_DISABLE_PTHREAD - .pthread_startup = pthread_startup, -#endif /* Signal handler trampoline */