projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454c799
)
sched: Make sched_feat_names const
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Fri, 25 May 2012 06:41:54 +0000
(15:41 +0900)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 30 May 2012 12:02:26 +0000
(14:02 +0200)
The strings sched_feat_names are never changed.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/r/4FBF29B2.9030904@ct.jp.nec.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
patch
|
blob
|
history
diff --git
a/kernel/sched/core.c
b/kernel/sched/core.c
index
70cc36a
..
c1679a0
100644
(file)
--- a/
kernel/sched/core.c
+++ b/
kernel/sched/core.c
@@
-142,7
+142,7
@@
const_debug unsigned int sysctl_sched_features =
#define SCHED_FEAT(name, enabled) \
#name ,
-static
__read_mostly char *
sched_feat_names[] = {
+static
const char * const
sched_feat_names[] = {
#include "features.h"
NULL
};