* 'cpumask-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus: cpumask: rename tsk_cpumask to tsk_cpus_allowed cpumask: don't recommend set_cpus_allowed hack in Documentation/cpu-hotplug.txt cpumask: avoid dereferencing struct cpumask cpumask: convert drivers/idle/i7300_idle.c to cpumask_var_t cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c cpumask: avoid deprecated function in mm/slab.c cpumask: use cpu_online in kernel/perf_event.c
Showing the changes to include (1 of 8 files). Show all
Unified · Split
| @@ -1553,7 +1553,7 @@ struct task_struct { · 1552 unmodified lines | ||
| 1553 | 1553 | }; |
| 1554 | 1554 | |
| 1555 | 1555 | /* Future-safe accessor for struct task_struct's cpus_allowed. */ |
| 1556 | −#define tsk_cpumask(tsk) (&(tsk)->cpus_allowed) | |
| 1556 | +#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) | |
| 1557 | 1557 | |
| 1558 | 1558 | /* |
| 1559 | 1559 | * Priority of a process goes from 0..MAX_PRIO-1, valid RT |