diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-06-17 18:39:54 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-06-17 18:39:54 +0000 |
commit | 5cff1f8b6be0c32e41833c6709c0599dcebbb5ab (patch) | |
tree | 54de8973cbddd05a428be66a09b182baef6d9a81 | |
parent | 0b5bd76080140bbab6a183d5fde475765846ee3b (diff) |
Coldfire patch from Bernardo Innocenti
-rw-r--r-- | libpthread/linuxthreads/sysdeps/m68k/pt-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/m68k/pt-machine.h b/libpthread/linuxthreads/sysdeps/m68k/pt-machine.h index d0c5e4c1a..0504ae179 100644 --- a/libpthread/linuxthreads/sysdeps/m68k/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/m68k/pt-machine.h @@ -36,7 +36,7 @@ testandset (int *spinlock) char ret; __asm__ __volatile__( -#if !defined(__mcf5200__) && !defined(__m68000) +#if !defined(__mcoldfire__) && !defined(__mcf5200__) && !defined(__m68000) "tas %1; sne %0" #else "bset #7,%1; sne %0" @@ -57,7 +57,7 @@ register char * stack_pointer __asm__ ("%sp"); /* Compare-and-swap for semaphores. */ -#if !defined(__mcf5200__) && !defined(__mc68000) +#if !defined(__mcoldfire__) && !defined(__mcf5200__) && !defined(__mc68000) #define HAS_COMPARE_AND_SWAP PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval) |