diff options
-rw-r--r-- | include/linux/sched.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 020b79d6c486..5a9168b01db8 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -897,12 +897,20 @@ static inline struct cpumask *sched_group_cpus(struct sched_group *sg) | |||
897 | 897 | ||
898 | enum sched_domain_level { | 898 | enum sched_domain_level { |
899 | SD_LV_NONE = 0, | 899 | SD_LV_NONE = 0, |
900 | #ifdef CONFIG_SCHED_SMT | ||
900 | SD_LV_SIBLING, | 901 | SD_LV_SIBLING, |
902 | #endif | ||
903 | #ifdef CONFIG_SCHED_MC | ||
901 | SD_LV_MC, | 904 | SD_LV_MC, |
905 | #endif | ||
906 | #ifdef CONFIG_SCHED_BOOK | ||
902 | SD_LV_BOOK, | 907 | SD_LV_BOOK, |
908 | #endif | ||
903 | SD_LV_CPU, | 909 | SD_LV_CPU, |
910 | #ifdef CONFIG_NUMA | ||
904 | SD_LV_NODE, | 911 | SD_LV_NODE, |
905 | SD_LV_ALLNODES, | 912 | SD_LV_ALLNODES, |
913 | #endif | ||
906 | SD_LV_MAX | 914 | SD_LV_MAX |
907 | }; | 915 | }; |
908 | 916 | ||