[v4,2/2] linux-generic: Fix on odp_cpu_arch_hz_current() declaration for x86

Message ID 1507309214-28483-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • linux-gen: Use /proc/cpuinfo, if sysfs is not available to get cpu info.
Related show

Commit Message

Github ODP bot Oct. 6, 2017, 5 p.m.
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>


Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>

---
/** Email created from pull request 214 (apalos:bug_3249)
 ** https://github.com/Linaro/odp/pull/214
 ** Patch: https://github.com/Linaro/odp/pull/214.patch
 ** Base sha: a63f25ff2994b2df78c24f1f8b63d0e06628eb68
 ** Merge commit sha: 57fff95425e76f7cec228f7a9471ca07c25cf029
 **/
 platform/linux-generic/arch/x86/odp_sysinfo_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c
index f3fd8c146..be2dfb230 100644
--- a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c
+++ b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c
@@ -46,7 +46,7 @@  void sys_info_print_arch(void)
 	cpu_flags_print_all();
 }
 
-uint64_t odp_cpu_arch_hz_current(int id ODP_UNUSED)
+uint64_t odp_cpu_arch_hz_current(int id)
 {
 	char str[1024];
 	FILE *file;