sched: scheduler-driven cpu frequency selection
[firefly-linux-kernel-4.4.55.git] / include / linux / sched.h
index 4478d392171401e610f2fd8c4473934a2f4a52b4..c707c613664f1e0e2cb8f8ee5cec19d4c7316781 100644 (file)
@@ -929,6 +929,14 @@ enum cpu_idle_type {
 #define SCHED_CAPACITY_SHIFT   10
 #define SCHED_CAPACITY_SCALE   (1L << SCHED_CAPACITY_SHIFT)
 
+struct sched_capacity_reqs {
+       unsigned long cfs;
+       unsigned long rt;
+       unsigned long dl;
+
+       unsigned long total;
+};
+
 /*
  * Wake-queues are lists of tasks with a pending wakeup, whose
  * callers have already marked the task as woken internally,