diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-06-17 19:27:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:03:52 -0400 |
commit | 9e8ae01d1c86dcaa6443c897662545d088036e4c (patch) | |
tree | d9465ffe404d318e0038d3133f76550faa3ce3c3 /kernel/audit.h | |
parent | 47918025efdabd34e96b13b26eb2cf2fd6fd1f7c (diff) |
introduce "struct wait_opts" to simplify do_wait() patches
Introduce "struct wait_opts" which holds the parameters for misc helpers
in do_wait() pathes.
This adds 13 lines to kernel/exit.c, but saves 256 bytes from .o and imho
makes the code much more readable.
This patch temporary uglifies rusage/siginfo code a little bit, will be
addressed by further cleanups.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions