x86/cacheinfo: Standardize header files and CPUID references
authorAhmed S. Darwish <darwi@linutronix.de>
Fri, 11 Apr 2025 07:04:01 +0000 (09:04 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 09:14:55 +0000 (11:14 +0200)
commit62e565273993ee47c82ca2975e65ce4bec3c3697
treed1a06829489fc9688378b730c620642ce32b8a11
parent718f9038acc53631cc887676b9c433e6fb9f15dc
x86/cacheinfo: Standardize header files and CPUID references

Reference header files using their canonical form <linux/cacheinfo.h>.

Standardize on CPUID(0xN), instead of CPUID(N), for all standard leaves.
This removes ambiguity and aligns them with their extended counterparts
like CPUID(0x8000001d).

References: 0dd09e215a39 ("x86/cacheinfo: Apply maintainer-tip coding style fixes")
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: John Ogness <john.ogness@linutronix.de>
Link: https://lore.kernel.org/r/20250411070401.1358760-3-darwi@linutronix.de
arch/x86/kernel/cpu/cacheinfo.c