linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: exit.c reorder wait_opts to remove padding on 64 bit builds
@ 2009-05-10 14:40 Richard Kennedy
  0 siblings, 0 replies; only message in thread
From: Richard Kennedy @ 2009-05-10 14:40 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Oleg Nesterov, lkml, linux-mm

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>
---

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-10 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-10 14:40 [PATCH] mm: exit.c reorder wait_opts to remove padding on 64 bit builds Richard Kennedy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).