diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-12-18 17:07:52 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-18 17:07:52 +0100 |
commit | 11c7a6c5a3232e2ff1127d80d609daa95df5d5d4 (patch) | |
tree | 52a7bfe7994eb7f0c9d4b9301ad3c27f9bb9ad71 /arch/arm/mach-sunxi/platsmp.c | |
parent | ARM: realview: build realview-dt SMP support only when used (diff) | |
parent | ARM: use "depends on" for SoC configs instead of "if" after prompt (diff) | |
download | linux-11c7a6c5a3232e2ff1127d80d609daa95df5d5d4.tar.xz linux-11c7a6c5a3232e2ff1127d80d609daa95df5d5d4.zip |
Merge branch 'treewide/cleanup' into next/multiplatform
The realview multiplatform series has a trivial conflict with
one of the treewide cleanups, let's just merge that in to
avoid having to resolve this later.
* treewide/cleanup:
ARM: use "depends on" for SoC configs instead of "if" after prompt
ARM/clocksource: use automatic DT probing for ux500 PRCMU
ARM: use const and __initconst for smp_operations
ARM: hisi: do not export smp_operations structures
Conflicts:
arch/arm/mach-integrator/Kconfig
Diffstat (limited to 'arch/arm/mach-sunxi/platsmp.c')
-rw-r--r-- | arch/arm/mach-sunxi/platsmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-sunxi/platsmp.c b/arch/arm/mach-sunxi/platsmp.c index e8483ec79d67..6642267812c9 100644 --- a/arch/arm/mach-sunxi/platsmp.c +++ b/arch/arm/mach-sunxi/platsmp.c @@ -116,7 +116,7 @@ static int sun6i_smp_boot_secondary(unsigned int cpu, return 0; } -static struct smp_operations sun6i_smp_ops __initdata = { +static const struct smp_operations sun6i_smp_ops __initconst = { .smp_prepare_cpus = sun6i_smp_prepare_cpus, .smp_boot_secondary = sun6i_smp_boot_secondary, }; @@ -185,7 +185,7 @@ static int sun8i_smp_boot_secondary(unsigned int cpu, return 0; } -struct smp_operations sun8i_smp_ops __initdata = { +static const struct smp_operations sun8i_smp_ops __initconst = { .smp_prepare_cpus = sun8i_smp_prepare_cpus, .smp_boot_secondary = sun8i_smp_boot_secondary, }; |