git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee367e
)
reorder struct prop_local_single to remove padding on 64 bit builds
author
Richard Kennedy
<richard@rsk.demon.co.uk>
Fri, 1 Aug 2008 12:36:28 +0000
(13:36 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 15 Aug 2008 15:15:23 +0000
(17:15 +0200)
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>
include/linux/proportions.h
patch
|
blob
|
history
diff --git
a/include/linux/proportions.h
b/include/linux/proportions.h
index
5afc1b2
..
cf793bb
100644
(file)
--- 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 */
};