diff options
author | Andi Kleen <ak@linux.intel.com> | 2012-10-04 20:12:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:04:44 -0400 |
commit | 17f3609c21706b377ad80b5251558ed700c2af17 (patch) | |
tree | d4e41f77ec4fc92aaa86e552fd4e383dbf78c9f1 | |
parent | 556f00ede819c20eaf2af9017a78c713b33ca4e7 (diff) |
sections: fix section conflicts in mm/percpu.c
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/percpu.h | 2 | ||||
-rw-r--r-- | mm/percpu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h index 2b9f82c037c9..cc88172c7d9a 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h | |||
@@ -107,7 +107,7 @@ enum pcpu_fc { | |||
107 | 107 | ||
108 | PCPU_FC_NR, | 108 | PCPU_FC_NR, |
109 | }; | 109 | }; |
110 | extern const char *pcpu_fc_names[PCPU_FC_NR]; | 110 | extern const char * const pcpu_fc_names[PCPU_FC_NR]; |
111 | 111 | ||
112 | extern enum pcpu_fc pcpu_chosen_fc; | 112 | extern enum pcpu_fc pcpu_chosen_fc; |
113 | 113 | ||
diff --git a/mm/percpu.c b/mm/percpu.c index bb4be7435ce3..ddc5efb9c5bb 100644 --- a/mm/percpu.c +++ b/mm/percpu.c | |||
@@ -1370,7 +1370,7 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai, | |||
1370 | 1370 | ||
1371 | #ifdef CONFIG_SMP | 1371 | #ifdef CONFIG_SMP |
1372 | 1372 | ||
1373 | const char *pcpu_fc_names[PCPU_FC_NR] __initdata = { | 1373 | const char * const pcpu_fc_names[PCPU_FC_NR] __initconst = { |
1374 | [PCPU_FC_AUTO] = "auto", | 1374 | [PCPU_FC_AUTO] = "auto", |
1375 | [PCPU_FC_EMBED] = "embed", | 1375 | [PCPU_FC_EMBED] = "embed", |
1376 | [PCPU_FC_PAGE] = "page", | 1376 | [PCPU_FC_PAGE] = "page", |