diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-12 20:29:17 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-12 20:29:17 -0400 |
commit | 3c1f67d60e2b4f4455563928999fd41cc653645d (patch) | |
tree | 0d58c145a05fb09167f1ab6882b474eccb1f3563 /include/linux/sched.h | |
parent | 03d78913f01e8f6599823f00357ed17b32747d3d (diff) | |
parent | 9ead64974b05501bbac0d63a47c99fa786d064ba (diff) |
Merge branch 'linus' into core/locking
Diffstat (limited to 'include/linux/sched.h')
-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 a7faa8d05d7f..53685c6fc098 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1422,6 +1422,9 @@ struct task_struct { | |||
1422 | #endif | 1422 | #endif |
1423 | }; | 1423 | }; |
1424 | 1424 | ||
1425 | /* Future-safe accessor for struct task_struct's cpus_allowed. */ | ||
1426 | #define tsk_cpumask(tsk) (&(tsk)->cpus_allowed) | ||
1427 | |||
1425 | /* | 1428 | /* |
1426 | * Priority of a process goes from 0..MAX_PRIO-1, valid RT | 1429 | * Priority of a process goes from 0..MAX_PRIO-1, valid RT |
1427 | * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH | 1430 | * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH |