x86/apic, x86/hyperv: Use u32 in hv_snp_boot_ap() too
authorIngo Molnar <mingo@kernel.org>
Fri, 13 Oct 2023 10:14:27 +0000 (12:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 13 Oct 2023 10:26:58 +0000 (12:26 +0200)
commit92fe9bb77b0c9fade150350fdb0629a662f0923f
tree961b0439c8b0de41bfb0ead245a3cc265502f38f
parent48525fd1ea1cfa059a580e77b10ea8790914efa2
x86/apic, x86/hyperv: Use u32 in hv_snp_boot_ap() too

The data type for APIC IDs was standardized to 'u32' in the
following recent commit:

   db4a4086a223 ("x86/apic: Use u32 for wakeup_secondary_cpu[_64]()")

Which changed the function arguments type signature of the
apic->wakeup_secondary_cpu() APIC driver function.

Propagate this to hv_snp_boot_ap() as well, which also addresses a
'assignment from incompatible pointer type' build warning that triggers
under the -Werror=incompatible-pointer-types GCC warning.

Fixes: db4a4086a223 ("x86/apic: Use u32 for wakeup_secondary_cpu[_64]()")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230814085113.233274223@linutronix.de
arch/x86/hyperv/ivm.c
arch/x86/include/asm/mshyperv.h