syscall: update syscall_lookup.h with gettid to fix build break
proxies/PROXY_gettid.c: In function 'gettid': proxies/PROXY_gettid.c:12:41: error: 'SYS_gettid' undeclared (first use in this function); did you mean 'SYS_getpid'? 12 | return (pid_t)sys_call0((unsigned int)SYS_gettid); | ^~~~~~~~~~ | SYS_getpid proxies/PROXY_gettid.c:12:41: note: each undeclared identifier is reported only once for each function it appears in proxies/PROXY_gettid.c:13:1: warning: control reaches end of non-void function [-Wreturn-type] 13 | } | ^ CC: proxies/PROXY_mmap.c Makefile:83: recipe for target 'PROXY_gettid.o' failed Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> Change-Id: Ib4d6e315aa7f17235292dd2d6550458a53bc1596
This commit is contained in:
parent
bf8446e235
commit
e0aa7c6d81
@ -27,6 +27,7 @@
|
||||
SYSCALL_LOOKUP1(_exit, 1)
|
||||
SYSCALL_LOOKUP(exit, 1)
|
||||
SYSCALL_LOOKUP(getpid, 0)
|
||||
SYSCALL_LOOKUP(gettid, 0)
|
||||
|
||||
SYSCALL_LOOKUP(sched_getparam, 2)
|
||||
SYSCALL_LOOKUP(sched_getscheduler, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user