Patch for Kernel panic - not syncing tx_cpu nr_cpu_ids file dhd_linux_lb.c line 216
File: dhd_linux_lb.c
Function: dhd_select_cpu_candidacy
if ((primary_available_cpus == 0) &&
(secondary_available_cpus == 0)) {
/* No CPUs available from primary or secondary mask */
napi_cpu = 1;
compl_cpu = 0;
tx_cpu = 2;
+ if (tx_cpu >= nr_cpu_ids)
+ tx_cpu = 0;
}
|