diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/sched.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 15ab3e039535..3d95c480f58d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -680,8 +680,14 @@ struct sched_group { | |||
680 | /* | 680 | /* |
681 | * CPU power of this group, SCHED_LOAD_SCALE being max power for a | 681 | * CPU power of this group, SCHED_LOAD_SCALE being max power for a |
682 | * single CPU. This is read only (except for setup, hotplug CPU). | 682 | * single CPU. This is read only (except for setup, hotplug CPU). |
683 | * Note : Never change cpu_power without recompute its reciprocal | ||
683 | */ | 684 | */ |
684 | unsigned long cpu_power; | 685 | unsigned int __cpu_power; |
686 | /* | ||
687 | * reciprocal value of cpu_power to avoid expensive divides | ||
688 | * (see include/linux/reciprocal_div.h) | ||
689 | */ | ||
690 | u32 reciprocal_cpu_power; | ||
685 | }; | 691 | }; |
686 | 692 | ||
687 | struct sched_domain { | 693 | struct sched_domain { |