arch: Make the comment and definition of CONFIG_SYS_RESERVED correctly

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-03-14 21:28:17 +08:00
committed by Petro Karashchenko
parent ea42981cc6
commit b6bc460b2c
7 changed files with 15 additions and 19 deletions
+3 -1
View File
@@ -49,8 +49,10 @@
* therefore, be reserved (0 is not used).
*/
#ifdef CONFIG_BUILD_KERNEL
#ifndef CONFIG_BUILD_FLAT
# define CONFIG_SYS_RESERVED 4
#else
# define CONFIG_SYS_RESERVED 3
#endif
/* sys_call macros **********************************************************/