4 #include <linux/sched.h>
16 int cpu_to_idx[NR_CPUS];
17 struct array_item elements[NR_CPUS];
18 cpumask_var_t free_cpus;
23 int cpudl_find(struct cpudl *cp, struct task_struct *p,
24 struct cpumask *later_mask);
25 void cpudl_set(struct cpudl *cp, int cpu, u64 dl, int is_valid);
26 int cpudl_init(struct cpudl *cp);
27 void cpudl_cleanup(struct cpudl *cp);
29 #define cpudl_set(cp, cpu, dl) do { } while (0)
30 #define cpudl_init() do { } while (0)
31 #endif /* CONFIG_SMP */
33 #endif /* _LINUX_CPUDL_H */