diff options
author | Julia Lawall <[email protected]> | 2010-03-26 23:03:07 +0100 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2010-05-21 21:31:14 +0100 |
commit | ed1bbdefc39477a1301fb466139ffb0c00f0d006 (patch) | |
tree | 14315e6a0428bb1ef3e1c7f71b4623f2dbdc5dde /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 8b108c609adefd98577c35f0a41497a610041a6c (diff) |
MIPS: Use set_cpus_allowed_ptr
From: Julia Lawall <[email protected]>
Use set_cpus_allowed_ptr rather than set_cpus_allowed.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression E1,E2;
@@
- set_cpus_allowed(E1, cpumask_of_cpu(E2))
+ set_cpus_allowed_ptr(E1, cpumask_of(E2))
@@
expression E;
identifier I;
@@
- set_cpus_allowed(E, I)
+ set_cpus_allowed_ptr(E, &I)
// </smpl>
Signed-off-by: Julia Lawall <[email protected]>
To: [email protected]
To: [email protected]
To: [email protected]
To: [email protected]
To: [email protected]
To: [email protected]
To: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/1087/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions