Date: Tue, 15 May 2012 09:28:26 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r235467 - projects/armv6/lib/libc/arm/gen Message-ID: <201205150928.q4F9SQ4s078228@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cognet Date: Tue May 15 09:28:25 2012 New Revision: 235467 URL: http://svn.freebsd.org/changeset/base/235467 Log: Use sysarch() if ARM_TP_ADDRESS isn't defined Modified: projects/armv6/lib/libc/arm/gen/_set_tp.c Modified: projects/armv6/lib/libc/arm/gen/_set_tp.c ============================================================================== --- projects/armv6/lib/libc/arm/gen/_set_tp.c Tue May 15 09:09:14 2012 (r235466) +++ projects/armv6/lib/libc/arm/gen/_set_tp.c Tue May 15 09:28:25 2012 (r235467) @@ -35,5 +35,9 @@ void _set_tp(void *tp) { +#ifdef ARM_TP_ADDRESS *((struct tcb **)ARM_TP_ADDRESS) = tp; +#else + sysarch(ARM_SET_TP, tp); +#endif }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205150928.q4F9SQ4s078228>