diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-03 14:15:40 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-08-07 02:23:22 +0400 |
commit | 18360d6ed9877d81aa7b3ab811e7e14f3fb0ac61 (patch) | |
tree | 82d3bfe3e2f78bafdeb1934e5eb566b3832212ca /drivers/cpufreq/acpi-cpufreq.c | |
parent | 1bfb425b3b6bf30f5d4b851049b2057dce860bfd (diff) | |
download | linux-18360d6ed9877d81aa7b3ab811e7e14f3fb0ac61.tar.xz |
cpufreq: integrator: Use set_cpus_allowed_ptr
Several years ago there was an effort to convert all uses of
set_cpus_allowed to use set_cpus_allowed_ptr with the goal of eventually
removing the current definition of set_cpus_allowed and renaming
set_cpus_allowed_ptr as set_cpus_allowed
(https://lkml.org/lkml/2010/3/26/59). This is another step in this
direction.
The Coccinelle semantic patch that makes this change is as follows:
// <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: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/acpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions