- Subject: [tip:sched/urgent] sched: Make sched_feat_names const
- From: tip-bot for Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
- Date: Wed, 30 May 2012 06:41:27 -0700
- Cc: linux-kernel@xxxxxxxxxxxxxxx, h-shimamoto@xxxxxxxxxxxxx, hpa@xxxxxxxxx, mingo@xxxxxxxxxx, a.p.zijlstra@xxxxxxxxx, tglx@xxxxxxxxxxxxx
- Git-commit-id: 1292531f6f27af909e713671dd9cc3bcab8114b7
- In-reply-to: <4FBF29B2.9030904@ct.jp.nec.com>
- Reply-to: mingo@xxxxxxxxxx, hpa@xxxxxxxxx, h-shimamoto@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, a.p.zijlstra@xxxxxxxxx, tglx@xxxxxxxxxxxxx
- Robot-id: <tip-bot.git.kernel.org>
- Robot-unsubscribe: Contact <mailto:hpa@xxxxxxxxxx> to get blacklisted from these emails
Commit-ID: 1292531f6f27af909e713671dd9cc3bcab8114b7
Gitweb: http://git.kernel.org/tip/1292531f6f27af909e713671dd9cc3bcab8114b7
Author: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
AuthorDate: Fri, 25 May 2012 15:41:54 +0900
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Wed, 30 May 2012 14:02:26 +0200
sched: Make sched_feat_names const
The strings sched_feat_names are never changed.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Link: http://lkml.kernel.org/r/4FBF29B2.9030904@xxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
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 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
};
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Video &Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]