sched: Add per-cpu max capacity to sched_group_capacity
[firefly-linux-kernel-4.4.55.git] / kernel / sched / sched.h
index 80d66655a5a37e1e55c37a3f0b9606b448ffad96..33583123792eb0e4e5064fdced98cc97f75798a9 100644 (file)
@@ -858,7 +858,8 @@ struct sched_group_capacity {
         * CPU capacity of this group, SCHED_LOAD_SCALE being max capacity
         * for a single CPU.
         */
-       unsigned int capacity;
+       unsigned long capacity;
+       unsigned long max_capacity; /* Max per-cpu capacity in group */
        unsigned long next_update;
        int imbalance; /* XXX unrelated to capacity but shared group state */
        /*