#define CPUPRI_NR_PRIORITIES …
#define CPUPRI_INVALID …
#define CPUPRI_NORMAL …
#define CPUPRI_HIGHER …
struct cpupri_vec { … };
struct cpupri { … };
#ifdef CONFIG_SMP
int cpupri_find(struct cpupri *cp, struct task_struct *p,
struct cpumask *lowest_mask);
int cpupri_find_fitness(struct cpupri *cp, struct task_struct *p,
struct cpumask *lowest_mask,
bool (*fitness_fn)(struct task_struct *p, int cpu));
void cpupri_set(struct cpupri *cp, int cpu, int pri);
int cpupri_init(struct cpupri *cp);
void cpupri_cleanup(struct cpupri *cp);
#endif