/* * SCHED_DEADLINE tasks has negative priorities, reflecting * the fact that any of them has higher prio than RT and * NORMAL/BATCH tasks. */#define MAX_DL_PRIO 0staticinlineintdl_prio(intprio){if(unlikely(prio<MAX_DL_PRIO))return1;return0;}staticinlineintdl_task(structtask_struct*p){returndl_prio(p->prio);}