fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / linux / vserver / sched.h
1 #ifndef _VX_SCHED_H
2 #define _VX_SCHED_H
3
4
5 #ifdef  __KERNEL__
6
7 struct timespec;
8
9 void vx_vsi_uptime(struct timespec *, struct timespec *);
10
11
12 struct vx_info;
13
14 void vx_update_load(struct vx_info *);
15
16
17 int vx_tokens_recalc(struct _vx_sched_pc *,
18         unsigned long *, unsigned long *, int [2]);
19
20 void vx_update_sched_param(struct _vx_sched *sched,
21         struct _vx_sched_pc *sched_pc);
22
23 #endif  /* __KERNEL__ */
24 #else   /* _VX_SCHED_H */
25 #warning duplicate inclusion
26 #endif  /* _VX_SCHED_H */