Re: [PATCH v10 3/6] arm64: smp: Remove dedicated wakeup IPI

From: Stephen Boyd
Date: Tue Aug 22 2023 - 19:16:42 EST


Quoting Douglas Anderson (2023-08-22 14:26:58)
> diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h
> index 9b31e6d0da17..798fd76a883a 100644
> --- a/arch/arm64/include/asm/smp.h
> +++ b/arch/arm64/include/asm/smp.h
> @@ -89,9 +89,9 @@ extern void arch_send_call_function_single_ipi(int cpu);
> extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
>
> #ifdef CONFIG_ARM64_ACPI_PARKING_PROTOCOL
> -extern void arch_send_wakeup_ipi_mask(const struct cpumask *mask);
> +extern void arch_send_wakeup_ipi(int cpu);

Is int used instead of unsigned int because we want to sometimes pass a
negative value to indicate an error? Maybe it should be unsigned int.