diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2012-05-25 15:41:54 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-30 14:02:26 +0200 |
commit | 1292531f6f27af909e713671dd9cc3bcab8114b7 (patch) | |
tree | 65f989da9c6bb9596d9b77f9c228f4d63f9b5317 /kernel/sched/core.c | |
parent | 454c79999f7eaedcdf4c15c449e43902980cbdf5 (diff) |
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/core.c')
-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 70cc36a6073..c1679a098fc 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 }; |