x86/cpuid: Rename have_cpuid_p() to cpuid_feature()
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 8 May 2025 15:02:32 +0000 (17:02 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 15 May 2025 16:23:55 +0000 (18:23 +0200)
commit2f924ca36d2f788d40a57ea48825ff51cba4e700
tree694873e1ed8e3d51d9cca8f44a541dbee1e6148b
parent968e3000680713f712bcf02c51c4d7bb7d4d7685
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
arch/x86/include/asm/cpuid/api.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/microcode/core.c