diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index cbf2a3b46280..848d1f20086e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1817,10 +1817,13 @@ static inline int set_cpus_allowed_ptr(struct task_struct *p, | |||
1817 | return 0; | 1817 | return 0; |
1818 | } | 1818 | } |
1819 | #endif | 1819 | #endif |
1820 | |||
1821 | #ifndef CONFIG_CPUMASK_OFFSTACK | ||
1820 | static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask) | 1822 | static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask) |
1821 | { | 1823 | { |
1822 | return set_cpus_allowed_ptr(p, &new_mask); | 1824 | return set_cpus_allowed_ptr(p, &new_mask); |
1823 | } | 1825 | } |
1826 | #endif | ||
1824 | 1827 | ||
1825 | /* | 1828 | /* |
1826 | * Architectures can set this to 1 if they have specified | 1829 | * Architectures can set this to 1 if they have specified |