1
0
Fork 0

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>
wifi-calibration
Andi Kleen 2012-10-04 17:12:07 -07:00 committed by Linus Torvalds
parent 556f00ede8
commit 17f3609c21
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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",