aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_sedf.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-28 10:54:50 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-10-28 10:54:50 +0000
commita8b1845a784516e51266e9f33fc3fe5b1e2790d5 (patch)
treee057fa606799edf4f4fd4af58b5b351ead338549 /xen/common/sched_sedf.c
parent0a7e9c30b5554194b7b3c80ab751f13df0f7607f (diff)
downloadxen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.gz
xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.tar.bz2
xen-a8b1845a784516e51266e9f33fc3fe5b1e2790d5.zip
Miscellaneous data placement adjustments
Make various data items const or __read_mostly where possible/reasonable. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/sched_sedf.c')
-rw-r--r--xen/common/sched_sedf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c
index 25ea61584e..9a3e7c54f1 100644
--- a/xen/common/sched_sedf.c
+++ b/xen/common/sched_sedf.c
@@ -1456,7 +1456,7 @@ static int sedf_adjust(struct domain *p, struct xen_domctl_scheduler_op *op)
return 0;
}
-struct scheduler sched_sedf_def = {
+const struct scheduler sched_sedf_def = {
.name = "Simple EDF Scheduler",
.opt_name = "sedf",
.sched_id = XEN_SCHEDULER_SEDF,