diff options
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r-- | kernel/sched/sched.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 7a7db09cfabc..ae31c051ff2f 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -648,6 +648,12 @@ extern struct static_key sched_feat_keys[__SCHED_FEAT_NR]; | |||
648 | #define sched_feat(x) (sysctl_sched_features & (1UL << __SCHED_FEAT_##x)) | 648 | #define sched_feat(x) (sysctl_sched_features & (1UL << __SCHED_FEAT_##x)) |
649 | #endif /* SCHED_DEBUG && HAVE_JUMP_LABEL */ | 649 | #endif /* SCHED_DEBUG && HAVE_JUMP_LABEL */ |
650 | 650 | ||
651 | #ifdef CONFIG_NUMA_BALANCING | ||
652 | #define sched_feat_numa(x) sched_feat(x) | ||
653 | #else | ||
654 | #define sched_feat_numa(x) (0) | ||
655 | #endif | ||
656 | |||
651 | static inline u64 global_rt_period(void) | 657 | static inline u64 global_rt_period(void) |
652 | { | 658 | { |
653 | return (u64)sysctl_sched_rt_period * NSEC_PER_USEC; | 659 | return (u64)sysctl_sched_rt_period * NSEC_PER_USEC; |