From 6a95b43a5e864f811c7c8083f598dc07f7ea9d17 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 26 Sep 2002 15:27:21 +0000 Subject: Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__ -Erik --- libc/sysdeps/linux/cris/sysdep.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/cris') diff --git a/libc/sysdeps/linux/cris/sysdep.S b/libc/sysdeps/linux/cris/sysdep.S index f027119dc..2ac2d0572 100644 --- a/libc/sysdeps/linux/cris/sysdep.S +++ b/libc/sysdeps/linux/cris/sysdep.S @@ -37,7 +37,7 @@ ENTRY (__syscall_error) neg.d r10,r10 -#ifdef _LIBC_REENTRANT +#ifdef __UCLIBC_HAS_THREADS__ push r10 push srp @@ -50,14 +50,14 @@ ENTRY (__syscall_error) pop r11 move.d r11,[r10] -#else /* not _LIBC_REENTRANT */ +#else /* not __UCLIBC_HAS_THREADS__ */ # ifdef __PIC__ move.d [r0+C_SYMBOL_NAME(errno:GOT)],r9 move.d r10,[r9] # else move.d r10,[C_SYMBOL_NAME(errno)] # endif -#endif /* _LIBC_REENTRANT */ +#endif /* __UCLIBC_HAS_THREADS__ */ #ifdef __PIC__ /* PIC callers are supposed to have R0 on stack, ready for us to restore. -- cgit v1.2.3