Name

cpupri_set — update the cpu priority setting

Synopsis

void cpupri_set (struct cpupri * cp,
 int cpu,
 int newpri);
 

Arguments

cp

The cpupri context

cpu

The target cpu

newpri

The priority (INVALID-RT99) to assign to this CPU

Note

Assumes cpu_rq(cpu)->lock is locked

Returns

(void)