|
@@ -51,7 +51,9 @@ static inline void cpuset_dec(void)
|
|
|
|
|
|
extern int cpuset_init(void);
|
|
|
extern void cpuset_init_smp(void);
|
|
|
+extern void cpuset_force_rebuild(void);
|
|
|
extern void cpuset_update_active_cpus(void);
|
|
|
+extern void cpuset_wait_for_hotplug(void);
|
|
|
extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask);
|
|
|
extern void cpuset_cpus_allowed_fallback(struct task_struct *p);
|
|
|
extern nodemask_t cpuset_mems_allowed(struct task_struct *p);
|
|
@@ -164,11 +166,15 @@ static inline bool cpusets_enabled(void) { return false; }
|
|
|
static inline int cpuset_init(void) { return 0; }
|
|
|
static inline void cpuset_init_smp(void) {}
|
|
|
|
|
|
+static inline void cpuset_force_rebuild(void) { }
|
|
|
+
|
|
|
static inline void cpuset_update_active_cpus(void)
|
|
|
{
|
|
|
partition_sched_domains(1, NULL, NULL);
|
|
|
}
|
|
|
|
|
|
+static inline void cpuset_wait_for_hotplug(void) { }
|
|
|
+
|
|
|
static inline void cpuset_cpus_allowed(struct task_struct *p,
|
|
|
struct cpumask *mask)
|
|
|
{
|