diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2009-06-18 01:27:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 22:03:53 +0200 |
commit | e1eb1ebcca871673c76caf63335c4237680040f1 (patch) | |
tree | d5a1b0e667222a43ec2780787ac21011072d45f1 /kernel | |
parent | do_wait: fix the theoretical race with stop/trace/cont (diff) | |
download | linux-e1eb1ebcca871673c76caf63335c4237680040f1.tar.xz linux-e1eb1ebcca871673c76caf63335c4237680040f1.zip |
mm: exit.c reorder wait_opts to remove padding on 64 bit builds
Reorder struct wait_opts to remove 8 bytes of alignment padding on 64 bit
builds.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: 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')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 7ef355dd3dca..13ae64001fec 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -1082,8 +1082,8 @@ SYSCALL_DEFINE1(exit_group, int, error_code) struct wait_opts { enum pid_type wo_type; - struct pid *wo_pid; int wo_flags; + struct pid *wo_pid; struct siginfo __user *wo_info; int __user *wo_stat; |