about summary refs log tree commit diff
path: root/sysdeps/generic/memusage.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-16 12:32:17 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-28 14:57:57 -0300
commit5a5f7a160da6ac3d141013e9a08f78edc216e434 (patch)
treee0007e3ce4df28062f87e512b071bc4a1bf10b3f /sysdeps/generic/memusage.h
parentc75aa9246a8cfc814d99cf5f58229177bd69fc4f (diff)
downloadglibc-5a5f7a160da6ac3d141013e9a08f78edc216e434.tar.gz
glibc-5a5f7a160da6ac3d141013e9a08f78edc216e434.tar.xz
glibc-5a5f7a160da6ac3d141013e9a08f78edc216e434.zip
malloc: Remove atomic_* usage
These typedef are used solely on memusage and can be replaced with
generic types.
Diffstat (limited to 'sysdeps/generic/memusage.h')
-rw-r--r--sysdeps/generic/memusage.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/generic/memusage.h b/sysdeps/generic/memusage.h
index 408e0b891b..c9bde5cd11 100644
--- a/sysdeps/generic/memusage.h
+++ b/sysdeps/generic/memusage.h
@@ -17,7 +17,6 @@
 
 
 #include <limits.h>
-#include <atomic.h>
 #include <stdint.h>
 
 #ifndef GETSP
@@ -36,16 +35,3 @@
     high = usecs >> 32;							   \
   }
 #endif
-
-#if LONG_BIT == 32
-# define memusage_cntr_t uatomic32_t
-#else
-# define memusage_cntr_t uatomic64_t
-#endif
-#ifndef memusage_size_t
-# if LONG_BIT == 32
-#  define memusage_size_t uatomic32_t
-# else
-#  define memusage_size_t uatomic64_t
-# endif
-#endif