diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-26 07:49:11 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-09-22 08:13:57 +0100 |
commit | 4caa9dda388f34f957a9eb52b9f5ef1a8c975c7b (patch) | |
tree | a08d2f93762743310dfd326cab1f0a1145af4827 /arch/arm/kernel/smp.c | |
parent | bbeb9209515989ff47802d4e5d5702178c8e42c4 (diff) | |
download | linux-4caa9dda388f34f957a9eb52b9f5ef1a8c975c7b.tar.bz2 |
ARM: 8424/1: add const qualifier to the argument of smp_set_ops()
This function just copies '*ops' to 'smp_ops', so the given
structure '*ops' is not modified at all.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r-- | arch/arm/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 36045e8ced01..7c467c5b048e 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -80,7 +80,7 @@ static DECLARE_COMPLETION(cpu_running); static struct smp_operations smp_ops; -void __init smp_set_ops(struct smp_operations *ops) +void __init smp_set_ops(const struct smp_operations *ops) { if (ops) smp_ops = *ops; |