1
0
Files
linux/arch/powerpc/kernel
Julia Lawall 21dbeb91a2 powerpc: Use set_cpus_allowed_ptr
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 <julia@diku.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-04-07 18:00:45 +10:00
..
2010-03-05 03:04:08 -06:00
2009-10-30 17:20:55 +11:00
2010-03-05 03:04:08 -06:00
2010-03-05 03:04:08 -06:00
2010-03-09 11:52:52 +11:00
2010-03-01 12:35:52 -03:00
2010-03-09 11:52:52 +11:00
2009-07-12 12:22:34 -07:00
2010-04-07 18:00:45 +10:00
2010-03-12 15:52:32 -08:00
2009-12-09 17:09:33 +11:00