Fix for sparc
This commit is contained in:
parent
076c235049
commit
fdfaee17fd
@ -1,3 +1,8 @@
|
||||
2008-03-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/linux/sparc/futex.h (atomic_write_barrier): Fix membar
|
||||
argument.
|
||||
|
||||
2008-03-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* libgomp.h (struct gomp_team_state): Remove single_count field
|
||||
@ -2439,7 +2444,7 @@
|
||||
+atomic_write_barrier (void)
|
||||
+{
|
||||
+#if defined __arch64__ || defined __sparc_v9__
|
||||
+ __asm volatile ("membar #WriteWrite" : : : "memory");
|
||||
+ __asm volatile ("membar #StoreStore" : : : "memory");
|
||||
+#else
|
||||
+ __sync_synchronize ();
|
||||
+#endif
|
||||
|
Loading…
Reference in New Issue
Block a user