From: Mike Travis Date: Fri, 16 Jan 2009 23:31:15 +0000 (-0800) Subject: cpufreq: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write X-Git-Tag: v2.6.30-rc1~3^2~6^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eb714c63ed5bd663627f7dda8c4d5258f3b64ef;p=pandora-kernel.git 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 Acked-by: Rusty Russell Tested-by: Dieter Ries Tested-by: Maciej Rutecki Cc: Dave Jones Cc: --- Reading git-diff-tree failed