summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/cpuid/api.h
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwi@linutronix.de>2025-05-08 17:02:32 +0200
committerIngo Molnar <mingo@kernel.org>2025-05-15 18:23:55 +0200
commit2f924ca36d2f788d40a57ea48825ff51cba4e700 (patch)
tree694873e1ed8e3d51d9cca8f44a541dbee1e6148b /arch/x86/include/asm/cpuid/api.h
parent968e3000680713f712bcf02c51c4d7bb7d4d7685 (diff)
x86/cpuid: Rename have_cpuid_p() to cpuid_feature()
In order to let all the APIs under <cpuid/api.h> have a shared "cpuid_" namespace, rename have_cpuid_p() to cpuid_feature(). Adjust all call-sites accordingly. Suggested-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Andrew Cooper <andrew.cooper3@citrix.com> Cc: John Ogness <john.ogness@linutronix.de> Cc: x86-cpuid@lists.linux.dev Link: https://lore.kernel.org/r/20250508150240.172915-4-darwi@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/cpuid/api.h')
-rw-r--r--arch/x86/include/asm/cpuid/api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/cpuid/api.h b/arch/x86/include/asm/cpuid/api.h
index ff8891a0b6c8..c0211fcdc706 100644
--- a/arch/x86/include/asm/cpuid/api.h
+++ b/arch/x86/include/asm/cpuid/api.h
@@ -14,9 +14,9 @@
*/
#ifdef CONFIG_X86_32
-bool have_cpuid_p(void);
+bool cpuid_feature(void);
#else
-static inline bool have_cpuid_p(void)
+static inline bool cpuid_feature(void)
{
return true;
}