diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index df42cac04243..6d1cc20cc477 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1995,9 +1995,6 @@ static inline struct vm_struct *task_stack_vm_area(const struct task_struct *t) | |||
1995 | } | 1995 | } |
1996 | #endif | 1996 | #endif |
1997 | 1997 | ||
1998 | /* Future-safe accessor for struct task_struct's cpus_allowed. */ | ||
1999 | #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) | ||
2000 | |||
2001 | static inline int tsk_nr_cpus_allowed(struct task_struct *p) | 1998 | static inline int tsk_nr_cpus_allowed(struct task_struct *p) |
2002 | { | 1999 | { |
2003 | return p->nr_cpus_allowed; | 2000 | return p->nr_cpus_allowed; |