Commit ff7c9481 authored by yangjian's avatar yangjian

update kernel ubutnu22.04 >= 6.2.0

parent a93d4a48
......@@ -1294,7 +1294,11 @@ static u32 engine_service_wb_monitor(struct xdma_engine *engine,
if (sched_limit != 0) {
if ((sched_limit % NUM_POLLS_PER_SCHED) == 0)
schedule();
#if KERNEL_VERSION(6, 2, 0) <=LINUX_VERSION_CODE
cond_resched();
#else
schedule();
#endif
}
sched_limit++;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment