qcacmn: Use qdf_cpuhp APIs for NAPI

Abstract NAPI's use of CPU hotplug events by using the new QDF CPU
hotplug APIs.

Change-Id: Iad590768476b4dc6bad63b3ee3b1b1bbf7698251
CRs-Fixed: 2141180
这个提交包含在:
Dustin Brown
2017-10-24 16:10:23 -07:00
提交者 Sandeep Puligilla
父节点 519d203401
当前提交 5d0d104798
修改 2 个文件,包含 74 行新增89 行删除

查看文件

@@ -282,6 +282,7 @@ struct qca_napi_cpu {
* @lilcl_head:
* @bigcl_head:
* @napi_mode: irq affinity & clock voting mode
* @cpuhp_handler: CPU hotplug event registration handle
*/
struct qca_napi_data {
struct hif_softc *hif_softc;
@@ -297,8 +298,7 @@ struct qca_napi_data {
struct qca_napi_cpu napi_cpu[NR_CPUS];
int lilcl_head, bigcl_head;
enum qca_napi_tput_state napi_mode;
struct notifier_block hnc_cpu_notifier;
bool cpu_notifier_registered;
struct qdf_cpuhp_handler *cpuhp_handler;
uint8_t flags;
};