mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] LoongArch: Remove the definition of cpu_has_perf
@ 2026-04-28  7:50 Qiang Ma
  0 siblings, 0 replies; only message in thread
From: Qiang Ma @ 2026-04-28  7:50 UTC (permalink / raw)
  To: chenhuacai, kernel; +Cc: loongarch, linux-kernel, Qiang Ma

The "cpu_has_perf" has not been used, so, remove it.

Fixes: f2ac457a6138 ("LoongArch: Add CPU definition headers")

Signed-off-by: Qiang Ma <maqianga@uniontech.com>
---
 arch/loongarch/include/asm/cpu-features.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/loongarch/include/asm/cpu-features.h b/arch/loongarch/include/asm/cpu-features.h
index 62059c5551b9..fa549b7b0626 100644
--- a/arch/loongarch/include/asm/cpu-features.h
+++ b/arch/loongarch/include/asm/cpu-features.h
@@ -58,7 +58,6 @@
 #define cpu_has_extioi		cpu_opt(LOONGARCH_CPU_EXTIOI)
 #define cpu_has_prefetch	cpu_opt(LOONGARCH_CPU_PREFETCH)
 #define cpu_has_pmp		cpu_opt(LOONGARCH_CPU_PMP)
-#define cpu_has_perf		cpu_opt(LOONGARCH_CPU_PMP)
 #define cpu_has_scalefreq	cpu_opt(LOONGARCH_CPU_SCALEFREQ)
 #define cpu_has_flatmode	cpu_opt(LOONGARCH_CPU_FLATMODE)
 #define cpu_has_eiodecode	cpu_opt(LOONGARCH_CPU_EIODECODE)
-- 
2.20.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-28  7:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-28  7:50 [PATCH] LoongArch: Remove the definition of cpu_has_perf Qiang Ma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®