aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-07-13 10:09:04 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-07-17 04:34:30 -0400
commit711d2731d0cc90644a67b179bd78432c15a270f0 (patch)
tree13325661470b5af8dadc9e66bc9ecf11c484aa58
parent0008204ffe85d23382d6fd0f971f3f0fbe70bae2 (diff)
s390/idle: reduce size of s390_idle_data structure
Avoid padding in the middle and the end of the data structure by moving nohz_delay member to the beginning. Saves eight byte per cpu. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/include/asm/cputime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/cputime.h b/arch/s390/include/asm/cputime.h
index 718374de9c7f..4e2bcafd2e3c 100644
--- a/arch/s390/include/asm/cputime.h
+++ b/arch/s390/include/asm/cputime.h
@@ -167,12 +167,12 @@ static inline clock_t cputime64_to_clock_t(cputime64_t cputime)
167} 167}
168 168
169struct s390_idle_data { 169struct s390_idle_data {
170 int nohz_delay;
170 unsigned int sequence; 171 unsigned int sequence;
171 unsigned long long idle_count; 172 unsigned long long idle_count;
172 unsigned long long idle_enter; 173 unsigned long long idle_enter;
173 unsigned long long idle_exit; 174 unsigned long long idle_exit;
174 unsigned long long idle_time; 175 unsigned long long idle_time;
175 int nohz_delay;
176}; 176};
177 177
178DECLARE_PER_CPU(struct s390_idle_data, s390_idle); 178DECLARE_PER_CPU(struct s390_idle_data, s390_idle);