diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-04-18 21:01:50 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-05-17 18:42:00 +0200 |
commit | cd4b2b9bc239ec93fd1883327e71a6748d06cbff (patch) | |
tree | 003a0e7a54896b5e1dc5df0e76a44295b655418f /arch/arm/mach-sunxi | |
parent | 840cf8259ce3db6ab81ed14729fde37cfb343104 (diff) | |
download | linux-cd4b2b9bc239ec93fd1883327e71a6748d06cbff.tar.bz2 |
ARM: sun6i: Use CPU_METHOD_OF_DECLARE
CPU_METHOD_OF_DECLARE allows to bind the smp_ops to a set of cpus through the
enable-method property, instead of relying on the machine to define it. Switch
to it to get closer to an empty machine.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r-- | arch/arm/mach-sunxi/platsmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/platsmp.c b/arch/arm/mach-sunxi/platsmp.c index 0c7dbce033cc..828f21126973 100644 --- a/arch/arm/mach-sunxi/platsmp.c +++ b/arch/arm/mach-sunxi/platsmp.c @@ -122,3 +122,4 @@ struct smp_operations sun6i_smp_ops __initdata = { .smp_prepare_cpus = sun6i_smp_prepare_cpus, .smp_boot_secondary = sun6i_smp_boot_secondary, }; +CPU_METHOD_OF_DECLARE(sun6i_smp, "allwinner,sun6i-a31", &sun6i_smp_ops); |