summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/include/mips32/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/mips/include/mips32/syscall.h')
-rw-r--r--nuttx/arch/mips/include/mips32/syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/mips/include/mips32/syscall.h b/nuttx/arch/mips/include/mips32/syscall.h
index bf2a7847f..a9ec7f9e0 100644
--- a/nuttx/arch/mips/include/mips32/syscall.h
+++ b/nuttx/arch/mips/include/mips32/syscall.h
@@ -63,7 +63,7 @@
* reserved (0 is not used).
*/
-#ifdef CONFIG_NUTTX_KERNEL
+#ifdef CONFIG_BUILD_KERNEL
# ifndef CONFIG_SYS_RESERVED
# error "CONFIG_SYS_RESERVED must be defined to the value 4"
# elif CONFIG_SYS_RESERVED != 4
@@ -170,7 +170,7 @@
#define up_switchcontext(saveregs, restoreregs) \
(void)sys_call2(SYS_switch_context, (uintptr_t)saveregs, (uintptr_t)restoreregs)
-#ifdef CONFIG_NUTTX_KERNEL
+#ifdef CONFIG_BUILD_KERNEL
/* SYS call 3:
*
* void up_syscall_return(void);