/* This thread doesn't need any user-level access,
* so get rid of all our resources
*/
-#ifdef DHD_SCHED
if (brcmf_watchdog_prio > 0) {
struct sched_param param;
param.sched_priority = (brcmf_watchdog_prio < MAX_RT_PRIO) ?
brcmf_watchdog_prio : (MAX_RT_PRIO - 1);
sched_setscheduler(current, SCHED_FIFO, ¶m);
}
-#endif /* DHD_SCHED */
allow_signal(SIGTERM);
/* Run until signal received */
/* This thread doesn't need any user-level access,
* so get rid of all our resources
*/
-#ifdef DHD_SCHED
if (brcmf_dpc_prio > 0) {
struct sched_param param;
param.sched_priority =
MAX_RT_PRIO) ? brcmf_dpc_prio : (MAX_RT_PRIO - 1);
sched_setscheduler(current, SCHED_FIFO, ¶m);
}
-#endif /* DHD_SCHED */
allow_signal(SIGTERM);
/* Run until signal received */