From: Oleg Nesterov Date: Wed, 17 Jun 2009 23:27:39 +0000 (-0700) Subject: introduce "struct wait_opts" to simplify do_wait() patches X-Git-Tag: v2.6.31-rc1~209 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e8ae01d1c86dcaa6443c897662545d088036e4c;p=pandora-kernel.git 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 Reviewed-by: Ingo Molnar Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed