This call was only made to cross the user/kernel boundary when mucking about with TLSes. If we really still have to do that, then use SYS_null instead.
Change-Id: I465d958f0a837da62096aa3a8d1054bdc0b99d94 Signed-off-by: Dan Cross <[email protected]> --- tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/i386/tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/i386/tls.h b/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/i386/tls.h index 65f3776..5d7000a 100644 --- a/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/i386/tls.h +++ b/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/i386/tls.h @@ -480,7 +480,7 @@ static const char* tls_init_tp(void* thrdescr) __procdata.ldt = ldt; // force kernel crossing - __ros_syscall_noerrno(SYS_getpid, 0, 0, 0, 0, 0, 0); + __ros_syscall_noerrno(SYS_null, 0, 0, 0, 0, 0, 0); } __set_tls_desc(thrdescr, core_id); -- 2.8.0.rc3.226.g39d4020 -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
