x86/apic: Use u32 for cpu_present_to_apicid()
APIC IDs are used with random data types u16, u32, int, unsigned int, unsigned long. Make it all consistently use u32 because that reflects the hardware register width and fixup a few related usage sites for consistency sake. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Tested-by:
Juergen Gross <jgross@suse.com> Tested-by:
Sohil Mehta <sohil.mehta@intel.com> Tested-by:
Michael Kelley <mikelley@microsoft.com> Tested-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by:
Zhang Rui <rui.zhang@intel.com> Reviewed-by:
Arjan van de Ven <arjan@linux.intel.com> Acked-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20230814085113.054064391@linutronix.de
parent
5d376b8f
Please register or sign in to comment