diff options
Diffstat (limited to 'include/linux/sched.h')
| -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 4059c0f33f07..20cb7497c59c 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -1909,6 +1909,14 @@ static inline int set_cpus_allowed_ptr(struct task_struct *p, | |||
| 1909 | } | 1909 | } |
| 1910 | #endif | 1910 | #endif |
| 1911 | 1911 | ||
| 1912 | #ifdef CONFIG_NO_HZ | ||
| 1913 | void calc_load_enter_idle(void); | ||
| 1914 | void calc_load_exit_idle(void); | ||
| 1915 | #else | ||
| 1916 | static inline void calc_load_enter_idle(void) { } | ||
| 1917 | static inline void calc_load_exit_idle(void) { } | ||
| 1918 | #endif /* CONFIG_NO_HZ */ | ||
| 1919 | |||
| 1912 | #ifndef CONFIG_CPUMASK_OFFSTACK | 1920 | #ifndef CONFIG_CPUMASK_OFFSTACK |
| 1913 | static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask) | 1921 | static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask) |
| 1914 | { | 1922 | { |
