]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/remove-counter.c
xnu-2422.90.20.tar.gz
[apple/xnu.git] / libsyscall / wrappers / remove-counter.c
index d6a2846d8dc2dabdb8c15122412ced3bb939fc7c..fe41f2757fff32ebb95ecd41a0cfdc72a0214c16 100644 (file)
@@ -31,19 +31,11 @@ static int32_t __remove_counter = 0;
 
 __uint64_t
 __get_remove_counter(void) {
-#if defined(__arm__) && !defined(_ARM_ARCH_6)
-       return __remove_counter;
-#else
        return __sync_add_and_fetch(&__remove_counter, 0);
-#endif
 }
 
 void
 __inc_remove_counter(void)
 {
-#if defined(__arm__) && !defined(_ARM_ARCH_6)
-       __remove_counter++;
-#else
        __sync_add_and_fetch(&__remove_counter, 1);
-#endif
 }