loongarch.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Qiang Ma <maqianga@uniontech.com>
To: chenhuacai@kernel.org, kernel@xen0n.name
Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org,
	Qiang Ma <maqianga@uniontech.com>
Subject: [PATCH] LoongArch: Remove the definition of cpu_has_perf
Date: Tue, 28 Apr 2026 15:50:50 +0800	[thread overview]
Message-ID: <20260428075050.2280852-1-maqianga@uniontech.com> (raw)

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


                 reply	other threads:[~2026-04-28  7:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260428075050.2280852-1-maqianga@uniontech.com \
    --to=maqianga@uniontech.com \
    --cc=chenhuacai@kernel.org \
    --cc=kernel@xen0n.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).