mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
syscall/ and related: Fix an error found in build testing. Inconsistent conditional compilation led to link errors in certain configurations.
This commit is contained in:
@@ -128,8 +128,12 @@
|
||||
|
||||
#ifndef CONFIG_BUILD_KERNEL
|
||||
# define SYS_task_create __SYS_task_create
|
||||
#ifdef CONFIG_BUILD_PROTECTED
|
||||
# define SYS_nx_task_spawn (__SYS_task_create + 1)
|
||||
# define __SYS_task_delete (__SYS_task_create + 2)
|
||||
#else
|
||||
# define __SYS_task_delete (__SYS_task_create + 1)
|
||||
#endif
|
||||
|
||||
/* pgalloc() is only available with address environments with the page
|
||||
* allocator selected. MMU support from the CPU is also required.
|
||||
|
||||
Reference in New Issue
Block a user