diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-11-13 23:19:48 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-01-26 19:44:29 -0800 |
commit | 058892e632aa53be8255c2f0a42f9ace7bed66bb (patch) | |
tree | 3528cc45b80245fc8d3eba00d3cda80f782d0fe1 /kernel/time | |
parent | 92c1d3ed4dc0b8cfb10e85ed0c9934db41efc027 (diff) | |
download | op-kernel-dev-058892e632aa53be8255c2f0a42f9ace7bed66bb.zip op-kernel-dev-058892e632aa53be8255c2f0a42f9ace7bed66bb.tar.gz |
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 74bb570..06f40ae 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -25,6 +25,8 @@ struct timekeeper { /* Current clocksource used for timekeeping. */ struct clocksource *clock; + /* NTP adjusted clock multiplier */ + u32 mult; /* The shift value of the current clocksource. */ int shift; @@ -45,8 +47,6 @@ struct timekeeper { /* Shift conversion between clock shifted nano seconds and * ntp shifted nano seconds. */ int ntp_error_shift; - /* NTP adjusted clock multiplier */ - u32 mult; /* The current time */ struct timespec xtime; |