From: Hongbo Zhang <[email protected]>

All CPU frequency APIs are moved for linux-generic internal, this patch
moves the declaration of odp_cpu_hz_max_id().

Signed-off-by: Hongbo Zhang <[email protected]>
---
 include/odp/api/cpu.h                    | 11 -----------
 platform/linux-generic/include/odp/cpu.h |  5 +++++
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/include/odp/api/cpu.h b/include/odp/api/cpu.h
index 8d1b382..f985515 100644
--- a/include/odp/api/cpu.h
+++ b/include/odp/api/cpu.h
@@ -66,17 +66,6 @@ const char *odp_cpu_model_str(void);
 const char *odp_cpu_model_str_id(int id);
 
 /**
- * Maximum CPU frequency of a CPU (in Hz)
- *
- * Returns maximum frequency of specified CPU
- *
- * @param id    CPU ID
- *
- * @return CPU frequency in Hz
- */
-uint64_t odp_cpu_hz_max_id(int id);
-
-/**
  * Current CPU cycle count
  *
  * Return current CPU cycle count. Cycle count may not be reset at ODP init
diff --git a/platform/linux-generic/include/odp/cpu.h 
b/platform/linux-generic/include/odp/cpu.h
index ff61855..7edb10b 100644
--- a/platform/linux-generic/include/odp/cpu.h
+++ b/platform/linux-generic/include/odp/cpu.h
@@ -34,6 +34,11 @@ uint64_t odp_cpu_hz_id(int id);
  */
 uint64_t odp_cpu_hz_max(void);
 
+/**
+ * Maximum CPU frequency of specified CPU (in Hz)
+ */
+uint64_t odp_cpu_hz_max_id(int id);
+
 #ifdef __cplusplus
 }
 #endif
-- 
2.1.4


_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to