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>
This commit is contained in:
Родитель
454c79999f
Коммит
1292531f6f
|
@ -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
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче