diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-06-04 20:49:01 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-06-04 16:38:45 -0400 |
commit | 496e70b91eb471600da511d058d5f507d170c1de (patch) | |
tree | b31470fb893220bac5c0b9dbe585ffad35eb8732 /sys-power/cpupower | |
parent | www-apps/nextcloud: Stabilize 23.0.5 ALLARCHES, #849683 (diff) | |
download | gentoo-496e70b91eb471600da511d058d5f507d170c1de.tar.gz gentoo-496e70b91eb471600da511d058d5f507d170c1de.tar.bz2 gentoo-496e70b91eb471600da511d058d5f507d170c1de.zip |
sys-power/cpupower: remove unused patch
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25754
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-power/cpupower')
-rw-r--r-- | sys-power/cpupower/files/cpupower-5.4-gcc-10.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/sys-power/cpupower/files/cpupower-5.4-gcc-10.patch b/sys-power/cpupower/files/cpupower-5.4-gcc-10.patch deleted file mode 100644 index 56540d2bc562..000000000000 --- a/sys-power/cpupower/files/cpupower-5.4-gcc-10.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 8db4ea3227554fb80ad766936a4c21cc901beb29 Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <floppym@gentoo.org> -Date: Sat, 1 Feb 2020 12:44:30 -0500 -Subject: [PATCH] cpupower: avoid multiple definition with gcc -fno-common - -The -fno-common option will be enabled by default in GCC 10. - -Bug: https://bugs.gentoo.org/707462 -Signed-off-by: Mike Gilbert <floppym@gentoo.org> ---- - tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c | 2 +- - tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c | 2 ++ - tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h | 2 +- - 3 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c b/tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c -index 33dc34db4f3c..1b69f25a1281 100644 ---- a/tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c -+++ b/tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c -@@ -82,7 +82,7 @@ static struct pci_access *pci_acc; - static struct pci_dev *amd_fam14h_pci_dev; - static int nbp1_entered; - --struct timespec start_time; -+extern struct timespec start_time; - static unsigned long long timediff; - - #ifdef DEBUG -diff --git a/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c b/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c -index 6d44fec55ad5..7c77045fef52 100644 ---- a/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c -+++ b/tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c -@@ -27,6 +27,8 @@ struct cpuidle_monitor *all_monitors[] = { - 0 - }; - -+int cpu_count; -+ - static struct cpuidle_monitor *monitors[MONITORS_MAX]; - static unsigned int avail_monitors; - -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 { --- -2.25.0 - |