]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpuid: Standardize on u32 in <asm/cpuid/api.h>
authorIngo Molnar <mingo@kernel.org>
Mon, 17 Mar 2025 22:18:23 +0000 (23:18 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:19:26 +0000 (11:19 +0100)
commitcfb4fc5f089a90b44832656ebe4504fcc41058ea
tree2cae7ae355eb459402bc6684e6ee7bf8ebe0f3df
parentfb99ed1e00c73dbee2bef77544aa5629edecaae2
x86/cpuid: Standardize on u32 in <asm/cpuid/api.h>

Convert all uses of 'unsigned int' to 'u32' in <asm/cpuid/api.h>.

This is how a lot of the call sites are doing it, and the two
types are equivalent in the C sense - but 'u32' better expresses
that these are expressions of an immutable hardware ABI.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Xin Li (Intel) <xin@zytor.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: "Ahmed S. Darwish" <darwi@linutronix.de>
Cc: x86-cpuid@lists.linux.dev
Link: https://lore.kernel.org/r/20250317221824.3738853-5-mingo@kernel.org
arch/x86/include/asm/cpuid/api.h