aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/mach
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-08-26 02:49:12 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-09-22 03:13:57 -0400
commitf460b6abdeeafd30c3ee737c843be17b1ceb38e5 (patch)
tree76e1d39f3d23be43258002b05ef667e0c4aeeb78 /arch/arm/include/asm/mach
parent4caa9dda388f34f957a9eb52b9f5ef1a8c975c7b (diff)
ARM: 8423/1: add const qualifier to smp_operations member in structures
The core framework does not modify smp_operations structures. To clarify it, this commit adds 'const' qualifier to the 'ops' member of struct of_cpu_method and the 'smp' member of struct machine_desc. This change allows each SoC code to add 'const' qualifier to its smp_operation structure. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/mach')
-rw-r--r--arch/arm/include/asm/mach/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h
index cb3a40717edd..5c1ad11aa392 100644
--- a/arch/arm/include/asm/mach/arch.h
+++ b/arch/arm/include/asm/mach/arch.h
@@ -47,7 +47,7 @@ struct machine_desc {
47 unsigned l2c_aux_val; /* L2 cache aux value */ 47 unsigned l2c_aux_val; /* L2 cache aux value */
48 unsigned l2c_aux_mask; /* L2 cache aux mask */ 48 unsigned l2c_aux_mask; /* L2 cache aux mask */
49 void (*l2c_write_sec)(unsigned long, unsigned); 49 void (*l2c_write_sec)(unsigned long, unsigned);
50 struct smp_operations *smp; /* SMP operations */ 50 const struct smp_operations *smp; /* SMP operations */
51 bool (*smp_init)(void); 51 bool (*smp_init)(void);
52 void (*fixup)(struct tag *, char **); 52 void (*fixup)(struct tag *, char **);
53 void (*dt_fixup)(void); 53 void (*dt_fixup)(void);