From 71bce82c1a1ad4f5718a4de3d27bdf7c1945d4b7 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 18 Nov 2010 22:18:42 -0500 Subject: [PATCH] Fix get_cycles -> caa_get_cycles Signed-off-by: Mathieu Desnoyers --- urcu/arch_alpha.h | 2 +- urcu/arch_armv7l.h | 2 +- urcu/arch_gcc.h | 2 +- urcu/arch_ppc.h | 2 +- urcu/arch_s390.h | 2 +- urcu/arch_sparc64.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/urcu/arch_alpha.h b/urcu/arch_alpha.h index 51a1fff..d62ac17 100644 --- a/urcu/arch_alpha.h +++ b/urcu/arch_alpha.h @@ -34,7 +34,7 @@ extern "C" { typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { return 0; /* not supported */ } diff --git a/urcu/arch_armv7l.h b/urcu/arch_armv7l.h index 6d58bb7..125066b 100644 --- a/urcu/arch_armv7l.h +++ b/urcu/arch_armv7l.h @@ -36,7 +36,7 @@ extern "C" { typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { cycles_t thetime; struct timeval tv; diff --git a/urcu/arch_gcc.h b/urcu/arch_gcc.h index 8e1a500..96efa0d 100644 --- a/urcu/arch_gcc.h +++ b/urcu/arch_gcc.h @@ -34,7 +34,7 @@ extern "C" { typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { cycles_t thetime; struct timeval tv; diff --git a/urcu/arch_ppc.h b/urcu/arch_ppc.h index e1a8270..b0f5030 100644 --- a/urcu/arch_ppc.h +++ b/urcu/arch_ppc.h @@ -50,7 +50,7 @@ extern "C" { typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { long h, l; diff --git a/urcu/arch_s390.h b/urcu/arch_s390.h index 8d1483a..1f03c78 100644 --- a/urcu/arch_s390.h +++ b/urcu/arch_s390.h @@ -41,7 +41,7 @@ extern "C" { typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { cycles_t cycles; diff --git a/urcu/arch_sparc64.h b/urcu/arch_sparc64.h index 0752c4d..283a8f4 100644 --- a/urcu/arch_sparc64.h +++ b/urcu/arch_sparc64.h @@ -46,7 +46,7 @@ __asm__ __volatile__("ba,pt %%xcc, 1f\n\t" \ typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { return 0; /* unimplemented */ } -- 2.34.1