You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/25 12:22:45 UTC

[incubator-nuttx] 01/06: Fix PROTECTED_BUILD build errors for mpfs target

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 3fa0834e7d2c153247ce0ffbfc91e329404c23fe
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Mon Jan 24 09:56:47 2022 +0200

    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 6971b10..8860ed5 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 */