diff options
author | Mike Travis <travis@sgi.com> | 2009-01-16 23:31:15 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-19 21:36:13 (GMT) |
commit | 72859081851af2bda04117ca3d64206ffa199e5e (patch) | |
tree | 5e532d7dfb1e96e5eb371253785892e1218d9e30 /include | |
parent | 8ccad40df8d314f786fdb06bdbedd4f43f3257cd (diff) | |
download | linux-fsl-qoriq-72859081851af2bda04117ca3d64206ffa199e5e.tar.xz |
cpufreq: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write
Impact: use new work_on_cpu function to reduce stack usage
Replace the saving of current->cpus_allowed and set_cpus_allowed_ptr() with
a work_on_cpu function for drv_read() and drv_write().
Basically converts do_drv_{read,write} into "work_on_cpu" functions that
are now called by drv_read and drv_write.
Note: This patch basically reverts 50c668d6 which reverted 7503bfba, now
that the work_on_cpu() function is more stable.
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Tested-by: Dieter Ries <clip2@gmx.de>
Tested-by: Maciej Rutecki <maciej.rutecki@gmail.com>
Cc: Dave Jones <davej@redhat.com>
Cc: <cpufreq@vger.kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions