summary refs log tree commit diff
path: root/sysdeps/tile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/tile')
-rw-r--r--sysdeps/tile/atomic-machine.h (renamed from sysdeps/tile/bits/atomic.h)0
-rw-r--r--sysdeps/tile/tilegx/atomic-machine.h (renamed from sysdeps/tile/tilegx/bits/atomic.h)8
-rw-r--r--sysdeps/tile/tilepro/atomic-machine.h (renamed from sysdeps/tile/tilepro/bits/atomic.h)8
3 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/tile/bits/atomic.h b/sysdeps/tile/atomic-machine.h
index eabb07e711..eabb07e711 100644
--- a/sysdeps/tile/bits/atomic.h
+++ b/sysdeps/tile/atomic-machine.h
diff --git a/sysdeps/tile/tilegx/bits/atomic.h b/sysdeps/tile/tilegx/atomic-machine.h
index e75efb1c41..1f7805bb88 100644
--- a/sysdeps/tile/tilegx/bits/atomic.h
+++ b/sysdeps/tile/tilegx/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 #include <arch/spr_def.h>
 
@@ -55,6 +55,6 @@
 #define atomic_decrement_if_positive(mem) \
   __atomic_update (mem, -1, fetchaddgez)
 
-#include <sysdeps/tile/bits/atomic.h>
+#include <sysdeps/tile/atomic-machine.h>
 
-#endif /* bits/atomic.h */
+#endif /* atomic-machine.h */
diff --git a/sysdeps/tile/tilepro/bits/atomic.h b/sysdeps/tile/tilepro/atomic-machine.h
index e0ef9fb5e7..a99f170394 100644
--- a/sysdeps/tile/tilepro/bits/atomic.h
+++ b/sysdeps/tile/tilepro/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 #include <asm/unistd.h>
 
@@ -83,6 +83,6 @@ int __atomic_update_32 (volatile int *mem, int mask, int addend)
   ({ __typeof (mask) __att1_v = (mask);                 \
     __atomic_update ((mem), ~__att1_v, __att1_v); })
 
-#include <sysdeps/tile/bits/atomic.h>
+#include <sysdeps/tile/atomic-machine.h>
 
-#endif /* bits/atomic.h */
+#endif /* atomic-machine.h */