diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2012-05-25 08:41:54 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-30 14:02:26 +0200 |
commit | 1292531f6f27af909e713671dd9cc3bcab8114b7 (patch) | |
tree | 65f989da9c6bb9596d9b77f9c228f4d63f9b5317 /kernel/sched | |
parent | sched/rt: Fix SCHED_RR across cgroups (diff) | |
download | linux-1292531f6f27af909e713671dd9cc3bcab8114b7.tar.xz linux-1292531f6f27af909e713671dd9cc3bcab8114b7.zip |
sched: Make sched_feat_names const
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>
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 70cc36a6073f..c1679a098fc7 100644 --- 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 }; |