diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2010-03-05 16:42:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 14:26:28 -0500 |
commit | 56e6943b41468826c26155139629c9a5379550ab (patch) | |
tree | a108d6fc93c34ebe205734a5775be5b77a4ff0b6 /drivers/cpuidle | |
parent | 77079dbec721a282bf0931385ae10d77cdbac5af (diff) |
cpuidle menu: remove 8 bytes of padding on 64 bit builds
Reorder struct menu_device to remove 8 bytes of padding on 64 bit builds.
Size drops from 136 to 128 bytes, so possibly needing one fewer cache
lines.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r-- | drivers/cpuidle/governors/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c index 73655aeb3a60..1aea7157d8ff 100644 --- a/drivers/cpuidle/governors/menu.c +++ b/drivers/cpuidle/governors/menu.c | |||
@@ -100,8 +100,8 @@ struct menu_device { | |||
100 | int needs_update; | 100 | int needs_update; |
101 | 101 | ||
102 | unsigned int expected_us; | 102 | unsigned int expected_us; |
103 | u64 predicted_us; | ||
104 | unsigned int measured_us; | 103 | unsigned int measured_us; |
104 | u64 predicted_us; | ||
105 | unsigned int exit_us; | 105 | unsigned int exit_us; |
106 | unsigned int bucket; | 106 | unsigned int bucket; |
107 | u64 correction_factor[BUCKETS]; | 107 | u64 correction_factor[BUCKETS]; |