[PATCH] mm: exit.c reorder wait_opts to remove padding on 64 bitbuilds

From: Richard Kennedy
Date: Sun May 10 2009 - 10:41:37 EST


reorder struct wait_opts to remove 8 bytes of alignment padding on 64
bit builds

Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>
---

Hi Andrew,
Oleg asked me to send you this patch against your tree.

patch against latest mmotm.git.
successfully compiled but has had no other testing.

regards
Richard


diff --git a/kernel/exit.c b/kernel/exit.c
index 6e8c9fd..576e626 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1080,8 +1080,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;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/