diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpuset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index 31adfde1c95f..ecae585ec3da 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h | |||
| @@ -21,6 +21,7 @@ extern int cpuset_init_early(void); | |||
| 21 | extern int cpuset_init(void); | 21 | extern int cpuset_init(void); |
| 22 | extern void cpuset_init_smp(void); | 22 | extern void cpuset_init_smp(void); |
| 23 | extern cpumask_t cpuset_cpus_allowed(struct task_struct *p); | 23 | extern cpumask_t cpuset_cpus_allowed(struct task_struct *p); |
| 24 | extern cpumask_t cpuset_cpus_allowed_locked(struct task_struct *p); | ||
| 24 | extern nodemask_t cpuset_mems_allowed(struct task_struct *p); | 25 | extern nodemask_t cpuset_mems_allowed(struct task_struct *p); |
| 25 | #define cpuset_current_mems_allowed (current->mems_allowed) | 26 | #define cpuset_current_mems_allowed (current->mems_allowed) |
| 26 | void cpuset_init_current_mems_allowed(void); | 27 | void cpuset_init_current_mems_allowed(void); |
| @@ -87,6 +88,10 @@ static inline cpumask_t cpuset_cpus_allowed(struct task_struct *p) | |||
| 87 | { | 88 | { |
| 88 | return cpu_possible_map; | 89 | return cpu_possible_map; |
| 89 | } | 90 | } |
| 91 | static inline cpumask_t cpuset_cpus_allowed_locked(struct task_struct *p) | ||
| 92 | { | ||
| 93 | return cpu_possible_map; | ||
| 94 | } | ||
| 90 | 95 | ||
| 91 | static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) | 96 | static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) |
| 92 | { | 97 | { |
