diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-06-17 16:27:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:03:52 -0700 |
commit | 9e8ae01d1c86dcaa6443c897662545d088036e4c (patch) | |
tree | d9465ffe404d318e0038d3133f76550faa3ce3c3 /drivers/base | |
parent | 47918025efdabd34e96b13b26eb2cf2fd6fd1f7c (diff) | |
download | linux-9e8ae01d1c86dcaa6443c897662545d088036e4c.tar.bz2 |
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 'drivers/base')
0 files changed, 0 insertions, 0 deletions