2002-03-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Remove.
This commit is contained in:
Ulrich Drepper 2002-03-22 08:40:35 +00:00
parent 32fe4a9320
commit fbaee91d72
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-03-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Remove.
2002-03-22 Ulrich Drepper <drepper@redhat.com>
* internals.h (MEMORY_BARRIER): Define as asm with memory as clobber.

View File

@ -30,9 +30,6 @@
extern long int testandset (int *spinlock);
extern int __compare_and_swap (long int *p, long int oldval, long int newval);
/* Memory barrier. */
#define MEMORY_BARRIER() __asm__ ("" : : : "memory")
/* Spinlock implementation; required. */