Message ID | 1507309214-28483-3-git-send-email-odpbot@yandex.ru |
---|---|
State | New |
Headers | show |
Series | [v4,1/2] linux-gen: Use /proc/cpuinfo, if sysfs is not available to get cpu info. | expand |
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;