Yury Norov 770ba06084 arm64: cpu_ops: Add missing 'const' qualifiers
Building the kernel with an LTO-enabled GCC spits out the following "const"
warning for the cpu_ops code:

  mm/percpu.c:2168:20: error: pcpu_fc_names causes a section type conflict
  with dt_supported_cpu_ops
  const char * const pcpu_fc_names[PCPU_FC_NR] __initconst = {
          ^
  arch/arm64/kernel/cpu_ops.c:34:37: note: ‘dt_supported_cpu_ops’ was declared here
  static const struct cpu_operations *dt_supported_cpu_ops[] __initconst = {

Fix it by adding missed const qualifiers.

Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-12-01 13:05:08 +00:00
..
2017-11-15 10:56:56 -08:00
2017-03-28 18:23:24 -04:00
2017-11-15 10:56:56 -08:00
2016-06-27 16:31:25 +01:00
2017-11-15 10:56:56 -08:00
2017-06-05 17:50:44 +02:00
2017-11-03 15:24:15 +00:00
2016-05-16 17:17:24 -07:00
2017-07-05 17:09:27 -07:00
2017-08-15 18:36:04 +01:00
2017-11-03 15:24:16 +00:00
2017-11-03 15:24:16 +00:00
2017-11-15 10:56:56 -08:00
2016-04-20 12:22:42 +01:00
2017-11-15 10:56:56 -08:00
2017-08-09 12:16:28 +01:00