Re: Fwd: [PATCH v9 07/13] ARM: SoC: convert ux500 to SoC descriptor

From: Srinidhi Kasagar
Date: Wed Sep 12 2012 - 12:31:22 EST


[...]

>
> From: Marc Zyngier <marc.zyngier@xxxxxxx>
>
> Convert ux500 platforms to use the SoC descriptor to provide
> their SMP and CPU hotplug operations.
>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> arch/arm/mach-ux500/board-mop500.c | 4 ++++
> arch/arm/mach-ux500/hotplug.c | 36 ++++++++----------------------
> arch/arm/mach-ux500/include/mach/setup.h | 3 +++
> arch/arm/mach-ux500/platsmp.c | 18 +++++++++++----
> 4 files changed, 30 insertions(+), 31 deletions(-)
>
> diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
> index a534d88..1c6f74b 100644
> --- a/arch/arm/mach-ux500/board-mop500.c
> +++ b/arch/arm/mach-ux500/board-mop500.c
> @@ -694,6 +694,7 @@ static void __init hrefv60_init_machine(void)
> MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
> /* Maintainer: Srinidhi Kasagar <srinidhi.kasagar@xxxxxxxxxxxxxx> */
> .atag_offset = 0x100,
> + .smp = smp_ops(ux500_smp_ops),
> .map_io = u8500_map_io,
> .init_irq = ux500_init_irq,
> /* we re-use nomadik timer here */
> @@ -705,6 +706,7 @@ MACHINE_END

This looks like mips way doing smp operations.

I have not tested the patch series, will do later.

Acked-by: srinidhi kasagar <srinidhi.kasagar@xxxxxxxxxxxxxx>

/srinidhi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/