aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Shimamoto <[email protected]>2012-05-25 15:41:54 +0900
committerIngo Molnar <[email protected]>2012-05-30 14:02:26 +0200
commit1292531f6f27af909e713671dd9cc3bcab8114b7 (patch)
tree65f989da9c6bb9596d9b77f9c228f4d63f9b5317
parent454c79999f7eaedcdf4c15c449e43902980cbdf5 (diff)
sched: Make sched_feat_names const
The strings sched_feat_names are never changed. Signed-off-by: Hiroshi Shimamoto <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-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 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
};