[PATCH 2/9] ARM: smp: pass an ipi number to smp_cross_call()

Catalin Marinas catalin.marinas at arm.com
Wed Nov 17 06:05:23 EST 2010


On Mon, 2010-11-15 at 17:58 +0000, Russell King - ARM Linux wrote:
> --- a/arch/arm/mach-msm/include/mach/smp.h
> +++ b/arch/arm/mach-msm/include/mach/smp.h
> @@ -31,9 +31,9 @@
> 
>  #include <asm/hardware/gic.h>
> 
> -static inline void smp_cross_call(const struct cpumask *mask)
> +static inline void smp_cross_call(const struct cpumask *mask, int ipi)
>  {
> -       gic_raise_softirq(mask, 1);
> +       gic_raise_softirq(mask, ipi);
>  }

BTW, why don't we make smp_cross_call() generic, it looks like all
platforms define the same thing.

Unless we get SMP systems in the future without a GIC.

-- 
Catalin




More information about the linux-arm-kernel mailing list