sched: encapsulate priority changes in a sched_set_prio static function
[deliverable/linux.git] / include / linux / sched.h
index 52c4847b05e2882a72d04c3c75fc4d55c2b4a6b9..48b35c03f6f8030e11f8ec236a636bdd6ed0eef5 100644 (file)
@@ -1409,7 +1409,8 @@ struct task_struct {
 #endif
        int on_rq;
 
-       int prio, static_prio, normal_prio;
+       int prio; /* Updated through sched_set_prio() */
+       int static_prio, normal_prio;
        unsigned int rt_priority;
        const struct sched_class *sched_class;
        struct sched_entity se;
This page took 0.02341 seconds and 5 git commands to generate.