Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / linux / vserver / limit_def.h
1 #ifndef _VX_LIMIT_DEF_H
2 #define _VX_LIMIT_DEF_H
3
4 #include <asm/atomic.h>
5 #include <asm/resource.h>
6
7 #include "limit.h"
8
9
10 /* context sub struct */
11
12 struct _vx_limit {
13         atomic_t ticks;
14
15         unsigned long rlim[NUM_LIMITS];         /* Context limit */
16         unsigned long rmax[NUM_LIMITS];         /* Context maximum */
17         atomic_t rcur[NUM_LIMITS];              /* Current value */
18         atomic_t lhit[NUM_LIMITS];              /* Limit hits */
19 };
20
21
22 #endif  /* _VX_LIMIT_DEF_H */