#endif
#include "kernel-features.h"
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
extern long int testandset (int *spinlock);
extern int __compare_and_swap (long int *p, long int oldval, long int newval);
#include <sysdep.h>
#include <tls.h>
#include <pt-machine.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
# include <linuxthreads/internals.h>
#endif
# define __local_multiple_threads __pthread_multiple_threads
#endif
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
# if defined FLOATING_STACKS && USE___THREAD && defined PIC
# define SINGLE_THREAD_P \
__builtin_expect (THREAD_GETMEM (THREAD_SELF, \
# endif
# endif
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
/* This code should never be used but we define it anyhow. */
# define SINGLE_THREAD_P (1)
#include <sysdep.h>
#include <tls.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
# include <linuxthreads/internals.h>
#endif
#define COPY_ARGS_6 COPY_ARGS_5 mov out5 = in5;
#define COPY_ARGS_7 COPY_ARGS_6 mov out6 = in6;
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
# define SINGLE_THREAD_P \
__builtin_expect (THREAD_GETMEM (THREAD_SELF, \
p_header.data.multiple_threads) == 0, 1)
adds r14 = MULTIPLE_THREADS_OFFSET, r13 ;; ld4 r14 = [r14] ;; cmp4.ne p6, p7 = 0, r14 ;;
# endif
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
/* This code should never be used but we define it anyhow. */
# define SINGLE_THREAD_P (1)
02111-1307 USA. */
#include <sysdep.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
# include <linuxthreads/internals.h>
#endif
# define __local_multiple_threads __pthread_multiple_threads
# endif
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
extern int __local_multiple_threads attribute_hidden;
# define SINGLE_THREAD_P __builtin_expect (__local_multiple_threads == 0, 1)
# else
# endif
# endif
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
/* This code should never be used but we define it anyhow. */
# define SINGLE_THREAD_P (1)
#include <sysdep.h>
#include <tls.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
# include <linuxthreads/internals.h>
#endif
#define COPY_ARGS_5 COPY_ARGS_4 mov %i4, %o4;
#define COPY_ARGS_6 COPY_ARGS_5 mov %i5, %o5;
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
# define SINGLE_THREAD_P \
__builtin_expect (THREAD_GETMEM (THREAD_SELF, \
p_header.data.multiple_threads) == 0, 1)
# define SINGLE_THREAD_P ld [%g6 + MULTIPLE_THREADS_OFFSET], %g1
# endif
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
/* This code should never be used but we define it anyhow. */
# define SINGLE_THREAD_P (1)
#include <sysdep.h>
#include <tls.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
# include <linuxthreads/internals.h>
#endif
#define COPY_ARGS_5 COPY_ARGS_4 mov %i4, %o4;
#define COPY_ARGS_6 COPY_ARGS_5 mov %i5, %o5;
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
# define SINGLE_THREAD_P \
__builtin_expect (THREAD_GETMEM (THREAD_SELF, \
p_header.data.multiple_threads) == 0, 1)
# define SINGLE_THREAD_P ld [%g6 + MULTIPLE_THREADS_OFFSET], %g1
# endif
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
/* This code should never be used but we define it anyhow. */
# define SINGLE_THREAD_P (1)
#include <sysdep.h>
#include <tls.h>
#include <pt-machine.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
# include <linuxthreads/internals.h>
#endif
# define __local_multiple_threads __libc_multiple_threads
# endif
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
extern int __local_multiple_threads attribute_hidden;
# define SINGLE_THREAD_P \
__builtin_expect (__local_multiple_threads == 0, 1)
# define SINGLE_THREAD_P cmpl $0, __local_multiple_threads(%rip)
# endif
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
/* This code should never be used but we define it anyhow. */
# define SINGLE_THREAD_P (1)