diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-12-28 22:43:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-01-02 16:57:03 +0100 |
commit | 82b948ef8ffd2770fb09a8640dab82f3cb2af443 (patch) | |
tree | 17380b9ddad8301a6feadc66f18986074e5e5ce8 /libpthread | |
parent | bad1263e3316825b5ef0037ad7a897ae62a30d7e (diff) |
remove deprecated architectures v850/i960
Both architectures are more or less deprecated.
No Linux upstream support, no gcc support for uClinux.
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads.old/sysdeps/microblaze/sigcontextinfo.h | 2 | ||||
-rw-r--r-- | libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h | 52 |
2 files changed, 1 insertions, 53 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/microblaze/sigcontextinfo.h b/libpthread/linuxthreads.old/sysdeps/microblaze/sigcontextinfo.h index de450ff8a..f5408ad08 100644 --- a/libpthread/linuxthreads.old/sysdeps/microblaze/sigcontextinfo.h +++ b/libpthread/linuxthreads.old/sysdeps/microblaze/sigcontextinfo.h @@ -1,5 +1,5 @@ /* - * sysdeps/v850/sigcontextinfo.h -- v850-specific pthread signal definitions + * sysdeps/microblaze/sigcontextinfo.h -- microblaze-specific pthread signal definitions * * Copyright (C) 2002 NEC Electronics Corporation * Copyright (C) 2002 Miles Bader <miles@gnu.org> diff --git a/libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h deleted file mode 100644 index 34de63b9f..000000000 --- a/libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * sysdeps/v850/pt-machine.h -- v850-specific pthread definitions - * - * Copyright (C) 2002 NEC Electronics Corporation - * Copyright (C) 2002 Miles Bader <miles@gnu.org> - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License. See the file COPYING.LIB in the main - * directory of this archive for more details. - * - * Written by Miles Bader <miles@gnu.org> - */ - -#ifndef _PT_MACHINE_H -#define _PT_MACHINE_H 1 - -#include <features.h> - -#ifndef PT_EI -# define PT_EI __extern_always_inline -#endif - -/* Get some notion of the current stack. Need not be exactly the top - of the stack, just something somewhere in the current frame. */ -#define CURRENT_STACK_FRAME __stack_pointer -register char *__stack_pointer __asm__ ("sp"); - -#define HAS_COMPARE_AND_SWAP - -/* Atomically: If *PTR == OLD, set *PTR to NEW and return true, - otherwise do nothing and return false. */ -PT_EI int -__compare_and_swap (long *ptr, long old, long new) -{ - unsigned long psw; - - /* disable interrupts */ - __asm__ __volatile__ ("stsr psw, %0; di" : "=&r" (psw)); - - if (likely (*ptr == old)) - { - *ptr = new; - __asm__ __volatile__ ("ldsr %0, psw" :: "r" (psw)); /* re-enable */ - return 1; - } - else - { - __asm__ __volatile__ ("ldsr %0, psw" :: "r" (psw)); /* re-enable */ - return 0; - } -} -#endif /* pt-machine.h */ |