[PATCH 7/7] arch/powerpc/perf : Removing unused macros from power9-pmu.c

Likhitha Korrapati likhitha at linux.ibm.com
Sat Apr 26 13:55:35 AEST 2025


The following macros were introduced in power9-pmu via
commit 8c002dbd05ee ("powerpc/perf: Power9 PMU support")

POWER9_MMCRA_IFM2, POWER9_MMCRA_IFM3

Removing the above macros as they are defined but never used.

Co-developed-by: Anjali K <anjalik at linux.ibm.com>
Signed-off-by: Anjali K <anjalik at linux.ibm.com>
Signed-off-by: Likhitha Korrapati <likhitha at linux.ibm.com>
---
 arch/powerpc/perf/power9-pmu.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/perf/power9-pmu.c b/arch/powerpc/perf/power9-pmu.c
index cb6a7dc02dd7..4d96830835cd 100644
--- a/arch/powerpc/perf/power9-pmu.c
+++ b/arch/powerpc/perf/power9-pmu.c
@@ -86,8 +86,6 @@ enum {
 
 /* MMCRA IFM bits - POWER9 */
 #define POWER9_MMCRA_IFM1		0x0000000040000000UL
-#define POWER9_MMCRA_IFM2		0x0000000080000000UL
-#define POWER9_MMCRA_IFM3		0x00000000C0000000UL
 #define POWER9_MMCRA_BHRB_MASK		0x00000000C0000000UL
 
 extern u64 PERF_REG_EXTENDED_MASK;
-- 
2.43.5



More information about the Linuxppc-dev mailing list