aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/timers
diff options
context:
space:
mode:
authorChristoph Lameter <christoph@scalex86.org>2005-09-06 15:16:33 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:18 -0700
commitc3d8c1414573be8cf7c8fdc1e076935697c7f6af (patch)
treebd2fc21473e03fbbf5c1182ee584b68ebfd8b1cf /arch/i386/kernel/timers
parentb3dbb4ecd46767b621df3dedd28788da93ee0cac (diff)
[PATCH] More __read_mostly variables
Move some more frequently read variables that showed up during some of our performance tests as sometimes ending up in hot cachelines to the read_mostly section. Fix: Move the __read_mostly from before hpet_usec_quotient to follow the variable like the other uses of __read_mostly. Signed-off-by: Alok N Kataria <alokk@calsoftinc.com> Signed-off-by: Christoph Lameter <christoph@scalex86.org> Signed-off-by: Shai Fultheim <shai@scalex86.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/timers')
-rw-r--r--arch/i386/kernel/timers/timer_hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/timers/timer_hpet.c b/arch/i386/kernel/timers/timer_hpet.c
index 001de97c9e4..6dbb29f834e 100644
--- a/arch/i386/kernel/timers/timer_hpet.c
+++ b/arch/i386/kernel/timers/timer_hpet.c
@@ -18,7 +18,7 @@
#include "mach_timer.h"
#include <asm/hpet.h>
-static unsigned long __read_mostly hpet_usec_quotient; /* convert hpet clks to usec */
+static unsigned long hpet_usec_quotient __read_mostly; /* convert hpet clks to usec */
static unsigned long tsc_hpet_quotient; /* convert tsc to hpet clks */
static unsigned long hpet_last; /* hpet counter value at last tick*/
static unsigned long last_tsc_low; /* lsb 32 bits of Time Stamp Counter */