From: Richard Kennedy Date: Fri, 1 Aug 2008 12:36:28 +0000 (+0100) Subject: reorder struct prop_local_single to remove padding on 64 bit builds X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3fb669dd6ec11e14819c0114a0e68a9ddcec65e1;p=linux-beck.git reorder struct prop_local_single to remove padding on 64 bit builds reorder structure to remove 8 bytes of padding on 64 bit builds (also removes 8 bytes from task_struct) Signed-off-by: Richard Kennedy Cc: peterz@infradead.org Signed-off-by: Ingo Molnar --- diff --git a/include/linux/proportions.h b/include/linux/proportions.h index 5afc1b23346d..cf793bbbd05e 100644 --- a/include/linux/proportions.h +++ b/include/linux/proportions.h @@ -104,8 +104,8 @@ struct prop_local_single { * snapshot of the last seen global state * and a lock protecting this state */ - int shift; unsigned long period; + int shift; spinlock_t lock; /* protect the snapshot state */ };