Home
last modified time | relevance | path

Searched hist:"38 cb76a307821f76c7f9dff7449f73aeb014d5cc" (Results 1 – 1 of 1) sorted by relevance

/linux/tools/power/cpupower/utils/
H A Dcpufreq-info.cdiff 38cb76a307821f76c7f9dff7449f73aeb014d5cc Mon Jan 18 16:14:43 CET 2016 Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> cpupower: Fix build error in cpufreq-info

Fix the following build error by including limits.h -

utils/cpufreq-info.c: In function ‘get_latency’:
utils/cpufreq-info.c:437:29: error: ‘UINT_MAX’ undeclared (first use in
this function)
if (!latency || latency == UINT_MAX) {
^
Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Fixes: e98f033f94f3 (cpupower: fix how "cpupower frequency-info" interprets latency)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>