OSDN Git Service

m68k: fix linuxthreads compile for coldfire
authorWaldemar Brodkorb <wbx@openadk.org>
Fri, 3 Oct 2014 04:27:04 +0000 (06:27 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Fri, 3 Oct 2014 04:27:04 +0000 (06:27 +0200)
commitedda0488a6879c1598bee908418cba14d66f9712
treed77db4ac8b198b209f1ca7be8bb2add55aa49e7d
parent59fe21c468d852a08847a8bcb62dea56408b510e
m68k: fix linuxthreads compile for coldfire

The tas instruction is not available for most coldfire CPU's.
Use bset instead in this case as already used in linuxthreads.old.
libpthread/linuxthreads/sysdeps/m68k/pspinlock.c
libpthread/linuxthreads/sysdeps/m68k/pt-machine.h
libpthread/linuxthreads/sysdeps/pthread/herrno-loc.c