Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1316528 > unrolled thread
| Started by | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| First post | 2016-01-25 12:40 +0100 |
| Last post | 2016-01-25 13:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ARM: tango: use const and __initconst for smp_operations Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-01-25 12:40 +0100
Re: [PATCH] ARM: tango: use const and __initconst for smp_operations Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-01-25 13:20 +0100
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Date | 2016-01-25 12:40 +0100 |
| Subject | [PATCH] ARM: tango: use const and __initconst for smp_operations |
| Message-ID | <qUNF0-3cn-15@gated-at.bofh.it> |
This newly added code missed the global fixup by commit 75305275a721
("ARM: use const and __initconst for smp_operations"). So fix it now.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
arch/arm/mach-tango/platsmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-tango/platsmp.c b/arch/arm/mach-tango/platsmp.c
index a18d5a3..a21f55e 100644
--- a/arch/arm/mach-tango/platsmp.c
+++ b/arch/arm/mach-tango/platsmp.c
@@ -9,7 +9,7 @@ static int tango_boot_secondary(unsigned int cpu, struct task_struct *idle)
return 0;
}
-static struct smp_operations tango_smp_ops __initdata = {
+static const struct smp_operations tango_smp_ops __initconst = {
.smp_boot_secondary = tango_boot_secondary,
};
--
1.9.1
[toc] | [next] | [standalone]
| From | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> |
|---|---|
| Date | 2016-01-25 13:20 +0100 |
| Message-ID | <qUOhI-3K1-23@gated-at.bofh.it> |
| In reply to | #1316528 |
On 25/01/2016 12:33, Masahiro Yamada wrote:
> This newly added code missed the global fixup by commit 75305275a721
> ("ARM: use const and __initconst for smp_operations"). So fix it now.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> arch/arm/mach-tango/platsmp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web