diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-03-10 09:52:04 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-03-10 09:52:04 +0100 |
commit | bce74b1feb01accc6654a1f3e37958478d3a4fbc (patch) | |
tree | efee137d9d15e846492c8104871902f7b12c0963 /tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h | |
parent | 2c523b344dfa65a3738e7039832044aa133c75fb (diff) | |
parent | 2de7fb60a4740135e03cf55c1982e393ccb87b6b (diff) |
Merge tag 'linux-cpupower-5.6-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux
Pull cpupower utility fix for v5.6 from Shuah Khan:
"This cpupower update for Linux 5.6-rc6 consists of a fix from
Mike Gilbert for build failures when -fno-common is enabled.
-fno-common will be default in gcc v10."
* tag 'linux-cpupower-5.6-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux:
cpupower: avoid multiple definition with gcc -fno-common
Diffstat (limited to 'tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h')
-rw-r--r-- | tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h b/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h index 5b5eb1da0cce..c559d3115330 100644 --- a/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h +++ b/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h @@ -25,7 +25,7 @@ #endif #define CSTATE_DESC_LEN 60 -int cpu_count; +extern int cpu_count; /* Hard to define the right names ...: */ enum power_range_e { |