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-02 11:10:55 +01:00
2017-11-15 10:56:56 -08:00
2017-11-02 11:10:55 +01:00
2017-06-29 11:33:15 +01:00
2017-07-24 22:47:56 +02:00
2017-06-29 16:32:43 +01:00
2017-03-28 18:23:24 -04:00
2017-11-15 10:56:56 -08:00
2017-08-09 14:07:13 +01:00
2017-03-20 16:16:54 +00:00
2017-06-15 09:45:04 +01:00
2017-12-01 13:05:08 +00:00
2017-01-12 15:05:39 +00:00
2016-06-27 16:31:25 +01:00
2017-11-15 10:56:56 -08:00
2017-03-10 18:06:24 +00:00
2017-11-03 15:24:21 +00:00
2017-04-05 18:31:38 +01:00
2017-11-02 15:55:41 +00:00
2017-01-17 17:41:14 +00:00
2017-04-04 17:50:59 +01:00
2017-06-05 17:50:44 +02:00
2015-07-10 16:47:13 +01:00
2017-11-03 15:24:14 +00:00
2017-11-03 12:05:23 +00:00
2017-11-03 15:24:21 +00:00
2017-12-01 13:05:05 +00:00
2017-12-01 13:04:59 +00:00
2017-11-03 15:24:15 +00:00
2016-09-09 15:03:29 +01:00
2017-11-02 15:55:40 +00:00
2017-05-09 17:26:40 +01:00
2017-04-09 07:49:35 -07:00
2016-05-16 17:17:24 -07:00
2017-07-05 17:09:27 -07:00
2017-10-24 16:23:07 +01:00
2017-08-15 18:36:04 +01:00
2015-08-03 11:34:12 +02:00
2017-08-22 18:15:42 +01:00
2017-03-02 08:42:36 +01:00
2014-07-10 11:02:40 +01:00
2017-11-02 15:55:40 +00:00
2017-12-01 13:04:59 +00:00
2017-12-01 13:04:59 +00:00
2017-06-29 11:09:39 +01:00
2017-12-01 13:04:59 +00:00
2015-12-21 14:40:54 +00:00
2017-08-02 14:53:16 -05:00
2017-08-09 14:10:29 +01:00
2017-12-01 13:05:08 +00:00
2017-11-02 11:10:55 +01:00
2017-11-03 15:24:15 +00:00
2017-01-12 15:05:39 +00:00
2017-11-03 15:24:18 +00:00
2017-04-04 17:03:32 +01:00
2017-04-04 17:03:32 +01:00
2016-09-09 15:03:29 +01:00
2017-08-09 14:10:29 +01:00
2017-11-02 15:55:41 +00:00
2017-11-03 15:24:16 +00:00
2017-11-03 15:24:16 +00:00
2017-11-02 11:10:55 +01:00
2017-02-03 18:46:33 +00:00
2017-01-12 15:05:39 +00:00
2017-11-02 15:55:41 +00:00
2017-09-13 18:53:16 -07:00
2017-11-15 10:56:56 -08:00
2015-03-19 10:43:51 +00:00
2017-03-02 08:42:37 +01:00
2016-04-20 12:22:42 +01:00
2017-08-09 14:10:29 +01:00
2017-07-20 10:28:41 +01:00
2017-11-02 11:10:55 +01:00
2017-11-15 10:56:56 -08:00
2017-08-09 12:16:28 +01:00
2017-11-02 11:10:55 +01:00