aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpuset.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cpuset.h')
-rw-r--r--include/linux/cpuset.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h
index 8e540d32c9fe..51ea2bdea0f9 100644
--- a/include/linux/cpuset.h
+++ b/include/linux/cpuset.h
@@ -78,6 +78,8 @@ extern int current_cpuset_is_being_rebound(void);
78 78
79extern void rebuild_sched_domains(void); 79extern void rebuild_sched_domains(void);
80 80
81extern void cpuset_print_task_mems_allowed(struct task_struct *p);
82
81#else /* !CONFIG_CPUSETS */ 83#else /* !CONFIG_CPUSETS */
82 84
83static inline int cpuset_init_early(void) { return 0; } 85static inline int cpuset_init_early(void) { return 0; }
@@ -159,6 +161,10 @@ static inline void rebuild_sched_domains(void)
159 partition_sched_domains(1, NULL, NULL); 161 partition_sched_domains(1, NULL, NULL);
160} 162}
161 163
164static inline void cpuset_print_task_mems_allowed(struct task_struct *p)
165{
166}
167
162#endif /* !CONFIG_CPUSETS */ 168#endif /* !CONFIG_CPUSETS */
163 169
164#endif /* _LINUX_CPUSET_H */ 170#endif /* _LINUX_CPUSET_H */