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>
This commit is contained in:
parent
556f00ede8
commit
17f3609c21
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ enum pcpu_fc {
|
|||
|
||||
PCPU_FC_NR,
|
||||
};
|
||||
extern const char *pcpu_fc_names[PCPU_FC_NR];
|
||||
extern const char * const pcpu_fc_names[PCPU_FC_NR];
|
||||
|
||||
extern enum pcpu_fc pcpu_chosen_fc;
|
||||
|
||||
|
|
|
@ -1370,7 +1370,7 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
|
|||
|
||||
#ifdef CONFIG_SMP
|
||||
|
||||
const char *pcpu_fc_names[PCPU_FC_NR] __initdata = {
|
||||
const char * const pcpu_fc_names[PCPU_FC_NR] __initconst = {
|
||||
[PCPU_FC_AUTO] = "auto",
|
||||
[PCPU_FC_EMBED] = "embed",
|
||||
[PCPU_FC_PAGE] = "page",
|
||||
|
|
Loading…
Reference in a new issue