aboutsummaryrefslogtreecommitdiff
path: root/net/irda
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2009-11-19 17:16:37 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 15:52:17 -0700
commit1626749d7bbbc00b362b632d993289128651d075 (patch)
tree8be0ea86c3af43eeb1c2f7688c86a17a6d4f0f9c /net/irda
parent873b48a4cf4a64dd77faef25ddcf1651cef49a32 (diff)
resource: add helpers for fetching rlimits
commit 3e10e716abf3c71bdb5d86b8f507f9e72236c9cd upstream. 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 <jslaby@suse.cz> Cc: James Morris <jmorris@namei.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions