[RFC PATCH] ARM: mvebu: Let the device-tree determine smp_ops

Andrew Lunn
2014-11-06T20:16:03Z

> Darn. I thought that might be the case but I wanted to keep the scope of
> my change small. How about making setup_arch check if smp_ops is already
> set?

I think that would be last resort solution. Try not to touch core code
unless you really have to.

> Alternatively if we gave ARMADA_370_XP_DT a smp_init function that
> returned non-zero if smp_ops is already set then I think it'd be
> backwards compatible and keep the scope of the change restricted to
> the 370-XP platforms.

This sounds more reasonable.

Andrew