]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpuid: Use u32 in instead of uint32_t in <asm/cpuid/api.h>
authorIngo Molnar <mingo@kernel.org>
Mon, 17 Mar 2025 22:18:24 +0000 (23:18 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:19:28 +0000 (11:19 +0100)
commita46f322661857d58b93f557bcb708260f18c18fd
tree4a88988b6576e79700fd2a8d8402cf06173153b9
parentcfb4fc5f089a90b44832656ebe4504fcc41058ea
x86/cpuid: Use u32 in instead of uint32_t in <asm/cpuid/api.h>

Use u32 instead of uint32_t in hypervisor_cpuid_base().

Yes, uint32_t is used in Xen code et al, but this is a core x86
architecture header and we should standardize on the type that
is being used overwhelmingly in related x86 architecture code.

The two types are the same so there should be no build warnings.

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>
Cc: "Ahmed S. Darwish" <darwi@linutronix.de>
Cc: x86-cpuid@lists.linux.dev
Link: https://lore.kernel.org/r/20250317221824.3738853-6-mingo@kernel.org
arch/x86/include/asm/cpuid/api.h