Skip to contentSkip to conversation

mm: exit.c reorder wait_opts to remove padding on 64 bit builds

PATCH New Richard Kennedy 1 participant 1 message May 10, 2009 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---

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

kernel/exit.c +1 -1
index 6e8c9fd..576e626 100644
@@ -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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>