Move _assert to kernel space.

Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
田昕
2022-12-06 14:33:13 +08:00
committed by Xiang Xiao
parent c2d75c930b
commit 2719869ab2
6 changed files with 31 additions and 5 deletions
+1 -1
View File
@@ -25,6 +25,7 @@
*/
SYSCALL_LOOKUP1(_exit, 1)
SYSCALL_LOOKUP(_assert, 2)
SYSCALL_LOOKUP(getpid, 0)
SYSCALL_LOOKUP(gettid, 0)
SYSCALL_LOOKUP(prctl, 2)
@@ -99,7 +100,6 @@ SYSCALL_LOOKUP(sem_wait, 1)
#endif
SYSCALL_LOOKUP(task_setcancelstate, 2)
SYSCALL_LOOKUP(up_assert, 2)
#ifdef CONFIG_CANCELLATION_POINTS
SYSCALL_LOOKUP(task_setcanceltype, 2)