summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2009-06-18 01:27:42 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 22:03:53 +0200
commite1eb1ebcca871673c76caf63335c4237680040f1 (patch)
treed5a1b0e667222a43ec2780787ac21011072d45f1 /kernel/exit.c
parentdo_wait: fix the theoretical race with stop/trace/cont (diff)
downloadlinux-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/exit.c')
-rw-r--r--kernel/exit.c2
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;