diff options
author | Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> | 2016-01-18 16:14:43 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-19 01:17:23 +0100 |
commit | 38cb76a307821f76c7f9dff7449f73aeb014d5cc (patch) | |
tree | c9f064f9b8092e5158771069d8d50189d08644fa /drivers/base/class.c | |
parent | cpupower: fix how "cpupower frequency-info" interprets latency (diff) | |
download | linux-38cb76a307821f76c7f9dff7449f73aeb014d5cc.tar.xz linux-38cb76a307821f76c7f9dff7449f73aeb014d5cc.zip |
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>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions