sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / kernel / sched / cpudeadline.h
blobf7da8c55bba03261002c1b8d000233c8dd190a55
1 #ifndef _LINUX_CPUDL_H
2 #define _LINUX_CPUDL_H
4 #include <linux/sched.h>
5 #include <linux/sched/deadline.h>
7 #define IDX_INVALID -1
9 struct cpudl_item {
10 u64 dl;
11 int cpu;
12 int idx;
15 struct cpudl {
16 raw_spinlock_t lock;
17 int size;
18 cpumask_var_t free_cpus;
19 struct cpudl_item *elements;
23 #ifdef CONFIG_SMP
24 int cpudl_find(struct cpudl *cp, struct task_struct *p,
25 struct cpumask *later_mask);
26 void cpudl_set(struct cpudl *cp, int cpu, u64 dl);
27 void cpudl_clear(struct cpudl *cp, int cpu);
28 int cpudl_init(struct cpudl *cp);
29 void cpudl_set_freecpu(struct cpudl *cp, int cpu);
30 void cpudl_clear_freecpu(struct cpudl *cp, int cpu);
31 void cpudl_cleanup(struct cpudl *cp);
32 #endif /* CONFIG_SMP */
34 #endif /* _LINUX_CPUDL_H */