Date: Sat, 3 Mar 2012 06:38:44 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r232442 - projects/armv6/lib/libthr/arch/arm/include Message-ID: <201203030638.q236cidI067652@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gonzo Date: Sat Mar 3 06:38:43 2012 New Revision: 232442 URL: http://svn.freebsd.org/changeset/base/232442 Log: sysarch return TLS pointer as return value, not through copyout Modified: projects/armv6/lib/libthr/arch/arm/include/pthread_md.h Modified: projects/armv6/lib/libthr/arch/arm/include/pthread_md.h ============================================================================== --- projects/armv6/lib/libthr/arch/arm/include/pthread_md.h Sat Mar 3 06:38:07 2012 (r232441) +++ projects/armv6/lib/libthr/arch/arm/include/pthread_md.h Sat Mar 3 06:38:43 2012 (r232442) @@ -67,7 +67,7 @@ static __inline struct tcb * _tcb_get(void) { struct tcb *tcb; - sysarch(ARM_GET_TP, &tcb); + tcb = (void*)sysarch(ARM_GET_TP, NULL); return (tcb); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203030638.q236cidI067652>