diff options
Diffstat (limited to 'include/linux/sched')
| -rw-r--r-- | include/linux/sched/cpufreq.h | 3 | ||||
| -rw-r--r-- | include/linux/sched/rt.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/sched/cpufreq.h b/include/linux/sched/cpufreq.h index e0234142b2f2..e11d47003fca 100644 --- a/include/linux/sched/cpufreq.h +++ b/include/linux/sched/cpufreq.h @@ -21,6 +21,8 @@ #define SCHED_CPUFREQ_RT_DL (SCHED_CPUFREQ_RT | SCHED_CPUFREQ_DL) #ifdef CONFIG_CPU_FREQ +struct cpufreq_policy; + struct update_util_data { void (*func)(struct update_util_data *data, u64 time, unsigned int flags); }; @@ -29,6 +31,7 @@ void cpufreq_add_update_util_hook(int cpu, struct update_util_data *data, void (*func)(struct update_util_data *data, u64 time, unsigned int flags)); void cpufreq_remove_update_util_hook(int cpu); +bool cpufreq_can_do_remote_dvfs(struct cpufreq_policy *policy); #endif /* CONFIG_CPU_FREQ */ #endif /* _LINUX_SCHED_CPUFREQ_H */ diff --git a/include/linux/sched/rt.h b/include/linux/sched/rt.h index db865ed25ef3..d88c71cae796 100644 --- a/include/linux/sched/rt.h +++ b/include/linux/sched/rt.h @@ -48,9 +48,9 @@ extern void normalize_rt_tasks(void); /* - * default timeslice is 100 msecs (used only for SCHED_RR tasks). + * default timeslice is 1 jiffy (used only for SCHED_RR tasks). * Timeslices get refilled after they expire. */ -#define RR_TIMESLICE (100 * HZ / 1000) +#define RR_TIMESLICE (1) #endif /* _LINUX_SCHED_RT_H */ |
