Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330051
b: refs/heads/master
c: 17f3609
h: refs/heads/master
i:
  330049: 83e11fd
  330047: 5ad8e4b
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Oct 5, 2012
1 parent 8dd0f6b commit 912fb27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 556f00ede819c20eaf2af9017a78c713b33ca4e7
refs/heads/master: 17f3609c21706b377ad80b5251558ed700c2af17
2 changes: 1 addition & 1 deletion trunk/include/linux/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 912fb27

Please sign in to comment.