Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1316528
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] ARM: tango: use const and __initconst for smp_operations |
| Date | 2016-01-25 12:40 +0100 |
| Message-ID | <qUNF0-3cn-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[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
csiph-web