]> err.no Git - linux-2.6/blobdiff - kernel/sched_idletask.c
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[linux-2.6] / kernel / sched_idletask.c
index 5ebf829cdd736cf5883d4179c017a145b3020e52..6e2ead41516ee5bb7631b31e77ecd84f3922eb6a 100644 (file)
@@ -57,7 +57,8 @@ static void set_curr_task_idle(struct rq *rq)
 /*
  * Simple, special scheduling class for the per-CPU idle tasks:
  */
-static struct sched_class idle_sched_class __read_mostly = {
+const struct sched_class idle_sched_class = {
+       /* .next is NULL */
        /* no enqueue/yield_task for idle tasks */
 
        /* dequeue is not valid, we print a debug message there: */