- Update the kernel headers to 2.0.2.1.
[util-vserver.git] / kernel / 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 */