diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-11-13 18:19:48 -0500 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-01-26 22:44:29 -0500 |
commit | 058892e632aa53be8255c2f0a42f9ace7bed66bb (patch) | |
tree | 3528cc45b80245fc8d3eba00d3cda80f782d0fe1 /kernel/time | |
parent | 92c1d3ed4dc0b8cfb10e85ed0c9934db41efc027 (diff) |
time: Reorder so the hot data is together
Keep all the interesting data in a single cache line.
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/timekeeping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 74bb5701e0b3..06f40ae13b7b 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c | |||
@@ -25,6 +25,8 @@ | |||
25 | struct timekeeper { | 25 | struct timekeeper { |
26 | /* Current clocksource used for timekeeping. */ | 26 | /* Current clocksource used for timekeeping. */ |
27 | struct clocksource *clock; | 27 | struct clocksource *clock; |
28 | /* NTP adjusted clock multiplier */ | ||
29 | u32 mult; | ||
28 | /* The shift value of the current clocksource. */ | 30 | /* The shift value of the current clocksource. */ |
29 | int shift; | 31 | int shift; |
30 | 32 | ||
@@ -45,8 +47,6 @@ struct timekeeper { | |||
45 | /* Shift conversion between clock shifted nano seconds and | 47 | /* Shift conversion between clock shifted nano seconds and |
46 | * ntp shifted nano seconds. */ | 48 | * ntp shifted nano seconds. */ |
47 | int ntp_error_shift; | 49 | int ntp_error_shift; |
48 | /* NTP adjusted clock multiplier */ | ||
49 | u32 mult; | ||
50 | 50 | ||
51 | /* The current time */ | 51 | /* The current time */ |
52 | struct timespec xtime; | 52 | struct timespec xtime; |