From: Richard Kennedy Date: Wed, 17 Jun 2009 23:27:42 +0000 (-0700) Subject: mm: exit.c reorder wait_opts to remove padding on 64 bit builds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1eb1ebcca871673c76caf63335c4237680040f1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Oleg Nesterov Cc: Ingo Molnar Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;