diff options
author | Jiri Slaby <[email protected]> | 2009-11-19 17:16:37 +0100 |
---|---|---|
committer | Jiri Slaby <[email protected]> | 2010-01-04 11:35:18 +0100 |
commit | 3e10e716abf3c71bdb5d86b8f507f9e72236c9cd (patch) | |
tree | c0dee002666c9aaf9862f3ec1140c5946461ec54 /net/lapb/lapb_in.c | |
parent | 96d07d211739fd2450ac54e81d00fa40fcd4b1bd (diff) |
resource: add helpers for fetching rlimits
We want to be sure that compiler fetches the limit variable only
once, so add helpers for fetching current and maximal resource
limits which do that.
Add them to sched.h (instead of resource.h) due to circular dependency
sched.h->resource.h->task_struct
Alternative would be to create a separate res_access.h or similar.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: James Morris <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions