summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2009-06-17 16:27:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 13:03:53 -0700
commite1eb1ebcca871673c76caf63335c4237680040f1 (patch)
treed5a1b0e667222a43ec2780787ac21011072d45f1 /kernel
parentf95d39d10fe7d47336e65172f52bf64e0096f983 (diff)
downloadlwn-e1eb1ebcca871673c76caf63335c4237680040f1.tar.gz
lwn-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.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;