projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9def7cc
)
ARM: rockchip: use const and __initconst for rk3036 smp_operations
author
Heiko Stuebner
<heiko@sntech.de>
Fri, 4 Dec 2015 17:04:44 +0000
(18:04 +0100)
committer
Heiko Stuebner
<heiko@sntech.de>
Wed, 16 Dec 2015 21:15:05 +0000
(22:15 +0100)
The newly added rk3036 smp operations missed the wholesale fixup from
Masahiro Yamada. So fix that now.
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/mach-rockchip/platsmp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-rockchip/platsmp.c
b/arch/arm/mach-rockchip/platsmp.c
index 5c138f9699f9ac301e850ae2b17f6e649be52b16..9a5b2e0502f360d51c4a7e93456461f4314bedad 100644
(file)
--- a/
arch/arm/mach-rockchip/platsmp.c
+++ b/
arch/arm/mach-rockchip/platsmp.c
@@
-351,7
+351,7
@@
static void rockchip_cpu_die(unsigned int cpu)
}
#endif
-static
struct smp_operations rk3036_smp_ops __initdata
= {
+static
const struct smp_operations rk3036_smp_ops __initconst
= {
.smp_prepare_cpus = rk3036_smp_prepare_cpus,
.smp_boot_secondary = rockchip_boot_secondary,
#ifdef CONFIG_HOTPLUG_CPU