mm: exit.c reorder wait_opts to remove padding on 64 bit builds
authorRichard Kennedy <[email protected]>
Wed, 17 Jun 2009 23:27:42 +0000 (16:27 -0700)
committerLinus Torvalds <[email protected]>
Thu, 18 Jun 2009 20:03:53 +0000 (13:03 -0700)
Reorder struct wait_opts to remove 8 bytes of alignment padding on 64 bit
builds.

Signed-off-by: Richard Kennedy <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/exit.c

index 7ef355dd3dca517ae74eaadf54f8ed50f7883290..13ae64001fec08774f13653f619e7b9de95cbd1d 100644 (file)
@@ -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;