Commit 3fb669dd6ec11e14819c0114a0e68a9ddcec65e1

Authored by Richard Kennedy
Committed by Ingo Molnar
1 parent bee367ed06

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

include/linux/proportions.h
... ... @@ -104,8 +104,8 @@
104 104 * snapshot of the last seen global state
105 105 * and a lock protecting this state
106 106 */
107   - int shift;
108 107 unsigned long period;
  108 + int shift;
109 109 spinlock_t lock; /* protect the snapshot state */
110 110 };
111 111