aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 496770a96487..2e5b3c8e2d3e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -893,16 +893,20 @@ static inline int sd_power_saving_flags(void)
893 return 0; 893 return 0;
894} 894}
895 895
896struct sched_group { 896struct sched_group_power {
897 struct sched_group *next; /* Must be a circular list */
898 atomic_t ref;
899
900 /* 897 /*
901 * CPU power of this group, SCHED_LOAD_SCALE being max power for a 898 * CPU power of this group, SCHED_LOAD_SCALE being max power for a
902 * single CPU. 899 * single CPU.
903 */ 900 */
904 unsigned int cpu_power, cpu_power_orig; 901 unsigned int power, power_orig;
902};
903
904struct sched_group {
905 struct sched_group *next; /* Must be a circular list */
906 atomic_t ref;
907
905 unsigned int group_weight; 908 unsigned int group_weight;
909 struct sched_group_power *sgp;
906 910
907 /* 911 /*
908 * The CPUs this group covers. 912 * The CPUs this group covers.