summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2012-05-25 15:41:54 +0900
committerIngo Molnar <mingo@kernel.org>2012-05-30 14:02:26 +0200
commit1292531f6f27af909e713671dd9cc3bcab8114b7 (patch)
tree65f989da9c6bb9596d9b77f9c228f4d63f9b5317 /kernel
parent454c79999f7eaedcdf4c15c449e43902980cbdf5 (diff)
downloadop-kernel-dev-1292531f6f27af909e713671dd9cc3bcab8114b7.zip
op-kernel-dev-1292531f6f27af909e713671dd9cc3bcab8114b7.tar.gz
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')
-rw-r--r--kernel/sched/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 70cc36a..c1679a0 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
};
OpenPOWER on IntegriCloud