diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/arc/memusage.h | 2 | ||||
-rw-r--r-- | sysdeps/generic/memusage.h | 14 | ||||
-rw-r--r-- | sysdeps/nios2/memusage.h | 2 |
3 files changed, 0 insertions, 18 deletions
diff --git a/sysdeps/arc/memusage.h b/sysdeps/arc/memusage.h index 290252a..e8a508a 100644 --- a/sysdeps/arc/memusage.h +++ b/sysdeps/arc/memusage.h @@ -18,6 +18,4 @@ #define GETSP() ({ register uintptr_t stack_ptr asm ("sp"); stack_ptr; }) -#define uatomic32_t unsigned int - #include <sysdeps/generic/memusage.h> diff --git a/sysdeps/generic/memusage.h b/sysdeps/generic/memusage.h index 408e0b8..c9bde5c 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 diff --git a/sysdeps/nios2/memusage.h b/sysdeps/nios2/memusage.h index 01618e4..6f1c788 100644 --- a/sysdeps/nios2/memusage.h +++ b/sysdeps/nios2/memusage.h @@ -18,6 +18,4 @@ #define GETSP() ({ register uintptr_t stack_ptr asm ("%sp"); stack_ptr; }) -#define uatomic32_t unsigned int - #include <sysdeps/generic/memusage.h> |