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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h
index 34081c168af5..c472f972bd6d 100644
--- a/include/linux/cpuset.h
+++ b/include/linux/cpuset.h
@@ -16,6 +16,7 @@
16 16
17extern int number_of_cpusets; /* How many cpusets are defined in system? */ 17extern int number_of_cpusets; /* How many cpusets are defined in system? */
18 18
19extern int cpuset_init_early(void);
19extern int cpuset_init(void); 20extern int cpuset_init(void);
20extern void cpuset_init_smp(void); 21extern void cpuset_init_smp(void);
21extern void cpuset_fork(struct task_struct *p); 22extern void cpuset_fork(struct task_struct *p);
@@ -49,6 +50,7 @@ extern char *cpuset_task_status_allowed(struct task_struct *task, char *buffer);
49 50
50#else /* !CONFIG_CPUSETS */ 51#else /* !CONFIG_CPUSETS */
51 52
53static inline int cpuset_init_early(void) { return 0; }
52static inline int cpuset_init(void) { return 0; } 54static inline int cpuset_init(void) { return 0; }
53static inline void cpuset_init_smp(void) {} 55static inline void cpuset_init_smp(void) {}
54static inline void cpuset_fork(struct task_struct *p) {} 56static inline void cpuset_fork(struct task_struct *p) {}