aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 322110affe63..ce93768a3312 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -869,7 +869,7 @@ enum cpu_idle_type {
869#define SD_BALANCE_FORK 0x0008 /* Balance on fork, clone */ 869#define SD_BALANCE_FORK 0x0008 /* Balance on fork, clone */
870#define SD_BALANCE_WAKE 0x0010 /* Balance on wakeup */ 870#define SD_BALANCE_WAKE 0x0010 /* Balance on wakeup */
871#define SD_WAKE_AFFINE 0x0020 /* Wake task to waking CPU */ 871#define SD_WAKE_AFFINE 0x0020 /* Wake task to waking CPU */
872#define SD_SHARE_CPUPOWER 0x0080 /* Domain members share cpu power */ 872#define SD_SHARE_CPUCAPACITY 0x0080 /* Domain members share cpu power */
873#define SD_SHARE_POWERDOMAIN 0x0100 /* Domain members share power domain */ 873#define SD_SHARE_POWERDOMAIN 0x0100 /* Domain members share power domain */
874#define SD_SHARE_PKG_RESOURCES 0x0200 /* Domain members share cpu pkg resources */ 874#define SD_SHARE_PKG_RESOURCES 0x0200 /* Domain members share cpu pkg resources */
875#define SD_SERIALIZE 0x0400 /* Only a single load balancing instance */ 875#define SD_SERIALIZE 0x0400 /* Only a single load balancing instance */
@@ -881,7 +881,7 @@ enum cpu_idle_type {
881#ifdef CONFIG_SCHED_SMT 881#ifdef CONFIG_SCHED_SMT
882static inline const int cpu_smt_flags(void) 882static inline const int cpu_smt_flags(void)
883{ 883{
884 return SD_SHARE_CPUPOWER | SD_SHARE_PKG_RESOURCES; 884 return SD_SHARE_CPUCAPACITY | SD_SHARE_PKG_RESOURCES;
885} 885}
886#endif 886#endif
887 887