Cleanup: move generic caa_get_cycles to arch/generic.h
[urcu.git] / urcu / arch / sparc64.h
index 46e26658af3cd2c71f45dde5a9a9b0b1fe415d92..fb99450d36fd0521d1fcb9de72f97cd229cab579 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <urcu/compiler.h>
 #include <urcu/config.h>
+#include <urcu/syscall-compat.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -44,13 +45,6 @@ __asm__ __volatile__("ba,pt %%xcc, 1f\n\t"   \
 #define cmm_rmb()      membar_safe("#LoadLoad")
 #define cmm_wmb()      membar_safe("#StoreStore")
 
-typedef unsigned long long cycles_t;
-
-static inline cycles_t caa_get_cycles (void)
-{
-       return 0;       /* unimplemented */
-}
-
 #ifdef __cplusplus 
 }
 #endif
This page took 0.02291 seconds and 4 git commands to generate.