aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/proportions.h
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2008-08-01 08:36:28 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-15 11:15:23 -0400
commit3fb669dd6ec11e14819c0114a0e68a9ddcec65e1 (patch)
tree500d22e89eb7452f4ebc13ad64564d7c046653bb /include/linux/proportions.h
parentbee367ed066e26c14263d808136fba8eec3bd70a (diff)
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 <richard@rsk.demon.co.uk> Cc: peterz@infradead.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/proportions.h')
-rw-r--r--include/linux/proportions.h2
1 files changed, 1 insertions, 1 deletions
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 {
104 * snapshot of the last seen global state 104 * snapshot of the last seen global state
105 * and a lock protecting this state 105 * and a lock protecting this state
106 */ 106 */
107 int shift;
108 unsigned long period; 107 unsigned long period;
108 int shift;
109 spinlock_t lock; /* protect the snapshot state */ 109 spinlock_t lock; /* protect the snapshot state */
110}; 110};
111 111