mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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:
parent
454c79999f
commit
1292531f6f
@ -142,7 +142,7 @@ const_debug unsigned int sysctl_sched_features =
|
|||||||
#define SCHED_FEAT(name, enabled) \
|
#define SCHED_FEAT(name, enabled) \
|
||||||
#name ,
|
#name ,
|
||||||
|
|
||||||
static __read_mostly char *sched_feat_names[] = {
|
static const char * const sched_feat_names[] = {
|
||||||
#include "features.h"
|
#include "features.h"
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user