hpsa: add in P840ar controller model name
[linux/fpc-iii.git] / kernel / sched / cpudeadline.h
blob020039bd1326852126480fa5e5038f58d26ca18c
1 #ifndef _LINUX_CPUDL_H
2 #define _LINUX_CPUDL_H
4 #include <linux/sched.h>
6 #define IDX_INVALID -1
8 struct cpudl_item {
9 u64 dl;
10 int cpu;
11 int idx;
14 struct cpudl {
15 raw_spinlock_t lock;
16 int size;
17 cpumask_var_t free_cpus;
18 struct cpudl_item *elements;
22 #ifdef CONFIG_SMP
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);
28 #endif /* CONFIG_SMP */
30 #endif /* _LINUX_CPUDL_H */