net: wireless: move regulatory timeout work to power efficient workqueue
authorShaibal Dutta <shaibal.dutta@broadcom.com>
Thu, 30 Jan 2014 23:08:30 +0000 (15:08 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:58:15 +0000 (21:58 +0100)
commit845f3351b15a4cd8c6e47255c0dbfac03c6aceda
treefdf364d2eb5f564aec97154a9c1cb7e9ffbef915
parentb4ba544c8c1349afd44e10aebec03c90e9b71d98
net: wireless: move regulatory timeout work to power efficient workqueue

For better use of CPU idle time, allow the scheduler to select the CPU
on which the timeout work of regulatory settings would be executed.
This extends CPU idle residency time and saves power.

This functionality is enabled when CONFIG_WQ_POWER_EFFICIENT is selected.

Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Shaibal Dutta <shaibal.dutta@broadcom.com>
[zoran.markovic@linaro.org: Rebased to latest kernel. Added commit message.]
Signed-off-by: Zoran Markovic <zoran.markovic@linaro.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c